0 Replies Latest reply on Feb 14, 2010 6:24 AM by shasho

    problem sending mail

    shasho
      Hello,

      In the last couple of days our site stoped sending mail messages,


      Questions:

      1. There is no apparent error in the attached log, how come we get the " Can't send command to SMTP host" error?

      2. How can I control the name of the host Seam mail session response in the EHLO? xxxxx.com in the following trace

      3. Should I switch to JBoss mail? Will I use any functionality within Seam? Link to configuration?

      We are using Seam 2.1.1.GA on Jboss 4.2

      Here is the trace of the SMTP log


      2010-02-13 22:34:40,111 INFO  [STDOUT] DEBUG SMTP: useEhlo true, useAuth false
      2010-02-13 22:34:40,112 INFO  [STDOUT] DEBUG SMTP: trying to connect to host "localhost", port 25,
      isSSL false
      2010-02-13 22:34:40,143 INFO  [STDOUT] 220 xxxxx.co.il ESMTP Postfix (Ubuntu)
      2010-02-13 22:34:40,144 INFO  [STDOUT] DEBUG SMTP: connected to host "localhost", port: 25
      2010-02-13 22:34:40,146 INFO  [STDOUT] EHLO xxxxx.com
      2010-02-13 22:34:40,146 INFO  [STDOUT] 250-xxxxx.com^M
      250-PIPELINING^M
      250-SIZE 10240000^M
      250-VRFY^M
      250-ETRN^M
      250-STARTTLS^M
      250-ENHANCEDSTATUSCODES^M
      250-8BITMIME^M
      250 DSN
      2010-02-13 22:34:40,146 INFO  [STDOUT] DEBUG SMTP: Found extension "PIPELINING", arg ""
      2010-02-13 22:34:40,147 INFO  [STDOUT] DEBUG SMTP: Found extension "SIZE", arg "10240000"
      2010-02-13 22:34:40,147 INFO  [STDOUT] DEBUG SMTP: Found extension "VRFY", arg ""
      2010-02-13 22:34:40,147 INFO  [STDOUT] DEBUG SMTP: Found extension "ETRN", arg ""
      2010-02-13 22:34:40,147 INFO  [STDOUT] DEBUG SMTP: Found extension "STARTTLS", arg ""
      2010-02-13 22:34:40,147 INFO  [STDOUT] DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
      2010-02-13 22:34:40,147 INFO  [STDOUT] DEBUG SMTP: Found extension "8BITMIME", arg ""
      2010-02-13 22:34:40,147 INFO  [STDOUT] DEBUG SMTP: Found extension "DSN", arg ""
      2010-02-13 22:34:40,147 INFO  [STDOUT] STARTTLS
      2010-02-13 22:34:40,147 INFO  [STDOUT] 220 2.0.0 Ready to start TLS
      2010-02-13 22:34:40,816 INFO  [STDOUT] EHLO xxxxx.com
      2010-02-13 22:34:40,849 ERROR [com.xxx.RetrievePasswordActionNew],javax.faces.FacesException: Can't
      send command to SMTP host