Google email not working

Discussion in 'Email' started by bsgrewal, Feb 10, 2011.

  1. hi all

    i m using google email on my domain jmit.ac.in

    i set my DNS as follwos:

    Manage CNAME Records

    mail.jmit.ac.in ghs.google.com 3600




    Manage MX Records

    jmit.ac.in ALT1.ASPMX.L.GOOGLE.COM 5 3600
    jmit.ac.in ALT2.ASPMX.L.GOOGLE.COM 5 3600
    jmit.ac.in ASPMX5.GOOGLEMAIL.COM 20 3600
    jmit.ac.in ASPMX4.GOOGLEMAIL.COM 15 3600
    jmit.ac.in ASPMX2.GOOGLEMAIL.COM 10 3600
    jmit.ac.in ASPMX3.GOOGLEMAIL.COM 10 3600
    jmit.ac.in ASPMX.L.GOOGLE.COM 1 3600



    it all works fine
    i have an email address [email protected], when i send mail from my website, it doesn't get it. but when i send direct to [email protected] from outlook, yahoo etc it delivers fine.

    but when i send mail from my website form to anyother mail account (eg: [email protected]) it works fine.

    below is my asp code.


    my_relay="127.0.0.1"

    Set Mailer = Server.CreateObject("Persits.MailSender")

    Mailer.Host = "64.79.170.146"
    Mailer.Username = "[email protected]"
    Mailer.Password = "******"
    'Mailer.FromName = "[email protected]"
    Mailer.From= [email protected]
    Mailer.AddAddress "[email protected]"

    Mailer.Subject = "mail subject"
    Mailer.IsHTML = True
    Mailer.Body = "email body"
    Mailer.Send


    please help
     
  2. Ray

    Ray

    You better contact Google and check with them. It sounds like you are not passing SMTP authentication. I am assuming that Google requires SMTP authentication but I do not know what format it will be. Plus I believe Google only support encrypted SMTP connection so you may need to set enable SSL to true on web application.
     
  3. if you are trying to send out of google smtp your settins need to be

    smtp.gmail.com
    ssl enabled
    port 587

    You also need to have your site running in full trust.
     
  4. Thanks for passing along that info, elitemike.
     

Share This Page