SMTP settings to work with Gmail / Google

Follow

Comments

4 comments

  • Avatar
    Justin Boyd

    Hi, I"m trying to get Go working with gmail I"m using the settings above but get an error,  the only significant difference is that i am using google apps for your domain.


     


    Has anyone had any experience with that?


     


    2011-09-08 12:14:00,907 ERROR [Thread-7632] CruiseSmtpMailSender:87 - Sending failed for email [Go Email Notification] to [admin@compassiondev.net.au]


    javax.mail.MessagingException: Exception reading response;
    nested exception is:
    javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
    at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1611)
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1369)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
    at javax.mail.Service.connect(Service.java:288)
    at com.thoughtworks.cruise.config.CruiseSmtpMailSender.send(CruiseSmtpMailSender.java:75)
    at com.thoughtworks.cruise.config.BackgroundMailSender$1.run(BackgroundMailSender.java:30)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

  • Avatar
    Santosh Hegde

    Try using port 465 (instead of 587).

  • Avatar
    Sidu Ponnappa

    Setting up Mingle to use GApps was trivial. I just followed Gmail's own instructions at http://support.google.com/mail/bin/static.py?hl=en&page=ts.cs&ts=1668960&rd=2

     

    Note that Mingle uses TLS so the port should be 587.

  • Avatar
    Shirishp

    Hi Justin,

    Port 465 and Unchecking TLS worked for me. :)

Please sign in to leave a comment.