Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cant send command to SMTP Host

843834Sep 15 2008 — edited Sep 16 2008
Hi,

I am sending an attachment using javamail concept.The attachement is working well if i give the host name as gmail,but when i change the smtp_host_name,it gives the error like Cant send command to SMTP Host.The error comes when it executes the following command Transport.send(mimemessage)........can any one find me a solution for this............................

Regards,
suba
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2008
Added on Sep 15 2008
2 comments
202 views