Could not run initial example from JavaMail demo
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alex_Oscherov
Posted On:   Friday, April 20, 2001 06:59 PM

I tried to run initial example from demo folder in JavaMail and got following errors: D:ToolsSunMailjavamail-1.2demo>java msgsend -M smtp.mail.yahoo.com -d alex.oscherov@documentum.com -U alex_oscherov -P alex0975 To: alex.oscherov@documentum.com Subject: Bla Next try ^Z DEBUG SMTP SENT: MAIL FROM: DEBUG SMTP RCVD: 521 Mail not accepted from this domain DEBUG SMTP SENT: QUIT javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: 521 Mail not accepted from this domain at javax.mail.Transport.send0(Transport.java:219) at javax.mail.Transport.send(Transport.java:81) at msgsend. (msgsen   More>>

I tried to run initial example from demo folder in JavaMail and got following errors:
D:ToolsSunMailjavamail-1.2demo>java msgsend -M smtp.mail.yahoo.com -d alex.oscherov@documentum.com -U alex_oscherov
-P alex0975
To: alex.oscherov@documentum.com
Subject: Bla
Next try
^Z

DEBUG SMTP SENT: MAIL FROM:
DEBUG SMTP RCVD: 521 Mail not accepted from this domain

DEBUG SMTP SENT: QUIT
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 521 Mail not accepted from this domain

at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at msgsend. (msgsend.java:162)
at msgsend.main(msgsend.java:52)
What did I do wrong?

   <<Less

Re: Could not run initial example from JavaMail demo

Posted By:   John_Zukowski  
Posted On:   Friday, April 20, 2001 08:02 PM

The Yahoo SMTP server is not an open relay.
About | Sitemap | Contact