Posted By:
Steven_VP
Posted On:
Tuesday, July 2, 2002 07:13 AM
Hi Jgurus, We are facing some issues in our QA system when sending out an e-mail. The error we get back is : javax.mail.MessagingException: 550 5.1.8 ... unacceptable MAIL FROM: . I included the complete debug trace below. I tried putting my email in the FROM field but that doesn't work neither. The strange thing is that the same code on another UNIX box works fine. Any clue what can be wrong here? Could it have something to do with a setting on UNIX? Thanks for sharing your expertise! Regards, Steven *********************** DEBUG TRACE ********************* DEBUG: not loading system providers in /lib DEBUG: su
More>>
Hi Jgurus,
We are facing some issues in our QA system when sending out an e-mail. The error we get back is :
javax.mail.MessagingException: 550 5.1.8
... unacceptable MAIL FROM:
.
I included the complete debug trace below.
I tried putting my email in the FROM field but that doesn't work neither.
The strange thing is that the same code on another UNIX box works fine.
Any clue what can be wrong here? Could it have something to do with a setting on UNIX?
Thanks for sharing your expertise!
Regards,
Steven
*********************** DEBUG TRACE *********************
DEBUG: not loading system providers in
/lib
DEBUG: successfully loaded optional custom providers from URL: jar:file:/D:/apps/messagehandler/jar/imap.jar!/META-INF/javamail.providers
DEBUG: successfully loaded optional custom providers from URL: jar:file:/D:/apps/messagehandler/jar/pop3.jar!/META-INF/javamail.providers
DEBUG: successfully loaded optional custom providers from URL: jar:file:/D:/apps/messagehandler/jar/smtp.jar!/META-INF/javamail.providers
DEBUG: successfully loaded default providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded optional address map from URL: jar:file:/D:/apps/messagehandler/jar/smtp.jar!/META-INF/javamail.address.map
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG: SMTPTransport trying to connect to host "*******.na.pg.com", port 25
DEBUG SMTP RCVD: 220 *******.na.pg.com ESMTP Sendmail (8.11.1/v2r10) at Tue, 2 Jul 2002 09:53:19 -0400 (EDT)
DEBUG: SMTPTransport connected to host "*****.na.pg.com", port: 25
DEBUG SMTP SENT: EHLO 2XB110J
DEBUG SMTP RCVD: 250-*****.na.pg.com Hello , pleased to meet you
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
DEBUG SMTP Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP Found extension "8BITMIME", arg ""
DEBUG SMTP Found extension "SIZE", arg ""
DEBUG SMTP Found extension "DSN", arg ""
DEBUG SMTP Found extension "ONEX", arg ""
DEBUG SMTP Found extension "ETRN", arg ""
DEBUG SMTP Found extension "XUSR", arg ""
DEBUG SMTP Found extension "HELP", arg ""
DEBUG SMTP: use8bit false
DEBUG SMTP SENT: MAIL FROM:
DEBUG SMTP RCVD: 550 5.1.8
... unacceptable MAIL FROM:
DEBUG SMTP SENT: QUIT
--Exception handling in msgsend.java
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 550 5.1.8
... unacceptable MAIL FROM:
void javax.mail.Transport.send0(javax.mail.Message, javax.mail.Address[])
void javax.mail.Transport.send(javax.mail.Message)
void com.pg.messagehandler.outbound.transport.EmailAdapter.dispatchMessage(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
void com.pg.messagehandler.outbound.transport.TransportFactory.invokeAdapters(com.pg.messagehandler.util.RepositoryDelegate)
void com.pg.messagehandler.outbound.Handler.sendMessages(com.pg.messagehandler.util.RepositoryDelegate)
void com.pg.messagehandler.outbound.Handler.process(com.pg.messagehandler.util.RepositoryDelegate)
void com.pg.messagehandler.outbound.Handler.main(java.lang.String[])
<<Less