If you want to use your Gmail with your own domain to send mail from one of your application, using Gmail’s SMTP (Simple Mail Transfer Protocol) server, it is very easy to set up. If you haven’t had a Gmail user with your own domain, you can purchase one at https://ggappsfree.com/#pricing. You may want to create a new user for this purpose, or use the one that you created initially. The actual configuration of your application’s mail settings will vary, depending on the software, but the details that you will need to set up working outgoing mail are generally the same.
With this Gmail setup, you will need to specify the following details when configuring your application to send email. Obviously, some of your details will differ from the example, so substitute them as is appropriate:
- SMTP Host:
- SMTP Port: 465 (SSL required) or 587 (TLS required)
- SMTP Authentication: Yes, use SMTP authentication
- Email Address or Username: The email address under your own domain that you want to use. Example: [email protected]
- Email Name: The name associated with the email address. Example: Google Apps Free
- Email Password: The password associated with the email address
Now you should be able to send and receive mail with your custom domain—test it out by sending and receiving mail via your new Gmail account. Now is a good time to add additional mail users, and configure other mail settings, if you need to. You may access your mail accounts through Gmail, and you may perform Google Apps administration through the Google Apps Admin Console.