Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Javamail Problem

  Asked By: Nisha    Date: May 01    Category: Java    Views: 1241

while im trying to use javamail to send a mail from smtp (softhome)
server i encounter this exception, what is means??

javax.servlet.ServletException: Sending failed;
nested exception is:
javax.mail.MessagingException: 552 Use the MX host.



2 Answers Found

Answer #1    Answered By: Cadencia Bernard     Answered On: May 01

I have modified ur code slightly...can you check this
code and tell me if it works for you..

By the way is ur mail  sent from a unix box.....using
something like sendmail...

Answer #2    Answered By: Patty Freeman     Answered On: May 01

The code will not work..

But have a look at this article

I have a feeling the mailing tables in ur mail  server
is not configured properly.Can you check with ur Mail

Didn't find what you were looking for? Find more on Javamail Problem Or get search suggestion and latest updates.