2 Replies Latest reply on Apr 22, 2010 3:38 AM by shane lee

    Seam 2.2.0 mail example issue

    shane lee Newbie

      I am running through the examples provided in seam 2.2.0.GA, and i have an issue with mail example.
      my mail session is in component descriptor:

      <mail:mail-session host="smtp.gmail.com" port="587"
      username="example@gmail.com" password="secret"/>

      i get the exception:
      Could not connect to SMTP host: smtp.gmail.com, port: 587

      It instructs:

      "Setting an SMTP relay - If you have problems sending emails from this example you might have a firewall blocking outgoing email. You'll need to edit <mail:mailSession> in resources/WEB-INF/components.xml a <mail:mailSession>, set a SMTP relay to relay via and then run the ant deploy again."

      So what is the value i have to amend here in mail-session to set smtp relay?

      i have changed the host and mail example works fine, i would just like gmail host to work too.