go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Set domain DNS MX records point to Gmail
 
Subject: Set domain DNS MX records point to Gmail
Author: WebSpider
In response to: Now what? -- after creating a Goolge Apps business account
Posted on: 08/21/2012 09:52:02 PM

Generally, here is how email service should work:

Outgoing mail:

                                         +-------------+   
   {Java Apps} -- smtp.gmail.com:587 --> |  Gmail SMTP | ----> {recipient}
                                         +-------------+


Imcomming mail:

                                         +----------+       +-------------+
   {sender} -- abc@myFakeCompany.com --> | DNS (MX) + ----> | Gmail Inbox |
                                         +----------+       +-------------+



You just need to instruct your domain's DNS to route all email traffic to Gmail by the following MX records:

     MX: @  1 ASPMX.L.GOOGLE.COM.
     MX: @  5 ALT1.ASPMX.L.GOOGLE.COM.
     MX: @  5 ALT2.ASPMX.L.GOOGLE.COM.
     MX: @ 10 ASPMX2.GOOGLEMAIL.COM.
     MX: @ 10 ASPMX3.GOOGLEMAIL.COM.

Note:
  • The ending dot (.) must be there.
  • The @ sign stands for the domain itself.
  • The lower number has the higher priority.

     

    > On 08/21/2012 02:11:21 AM WebSpider wrote:

    I have created a business account via:

    kttp://www.google.com/a/

    on domain: myFakeCompany.com

    With the followin settings
                    // authentication
    		final String username = "email-from@myFakeCompany.com";
    		final String password = "password";
     
    		// email information
    		String from = "email-from@myFakeCompany.com";
    		String to   = "email-to@gmail.com";
    


    I can make all my outgoing emails be seen on destination as:
            from:       email-from@myFakeCompany.com
              to:       email-to@gmail.com
            date:       Sat, Aug 18, 2012 at 10:53 PM
         subject:       Testing Subject
       mailed-by:       gmail.com
    


    OK, I can send out email via my business account -- that's not surprising. But when my client replied my email to 'email-from@myFakeCompany.com', I did not get anything. Now what?




    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.