Debugging on sending email

I use Java mail based mail packages, Spring and Seam, to send email out. Followed the normal procedure, the email seems to be sent. But, the recipient never received the email. I am wondering how I can debug the problem. The SMTP host is configured to the local cable email host and it is correct. I turn up the debugging on javax.mail. But not any message shows up.

Thanks in advance.

w.

[407 byte] By [vwuvancouvera] at [2007-11-27 7:35:24]
# 1

Explain "not any message shows up".

If you can't find where the debug output is being written, you can

tell JavaMail to write the debug output to a stream of your choice.

You really need to see the debug output.

Also, make sure no exceptions are being through when you send

the message. Put the send call inside a try/catch block.

bshannona at 2007-7-12 19:15:54 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thanks for your reply.I did put my email sending code inside of a try/catch block. According to my log, the email was sent.
vwuvancouvera at 2007-7-12 19:15:54 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Then you need to look at the protocol trace.If the server is accepting the message and not delivering it,your issue is with the server, not JavaMail. Check your serverlogs and/or talk to your mail server administrator.
bshannona at 2007-7-12 19:15:54 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...