1 Reply Latest reply on Jul 12, 2010 10:02 PM by Herberson Silva

    Problem with smtp connection

    Eduard Queraltó Newbie
      Hi. I'm trying to send a mail using smtp host: smtp.gmail.com

      I get the next exception:

      Could not connect to SMTP host: smtp.gmail.com, port: 587    (time out)

      I've defined in components.xml the next sentence:

      <mail:mail-session host="smtp.gmail.com" port="587"
                      username="prova@gmail.com" password="jljlj" ssl="true" />

      I've tried with port 465 and I get the same exception.

      Can anyone help me?