Since you mentioned that the from address might be the problem, I've found that you shouldn't list more than one address in the from line (it happens quite a bit) and you should make sure the from email address actually does exist. The other thing that might be stopping your email from being delivered is spam filters. It's amazing sometimes how much legitimate email is trapped by spam filters, although they are getting better. I'm interested to see if anyone else has better logging techniques as I have had little luck in tracking down errors that might be occuring in the delivery of email. Thanks! Derek
Jurjan-Paul Medema <[EMAIL PROTECTED]> wrote: Hello list, I am using the mailer taglib, mainly to be able to generate the message body from a jsp. However, I find that in a number of cases my mails are simply not sent and I don't receive any notification of that (neither by mail, in web output, nor in the logs). So, I guess that counts as 2 problems. I am hoping somebody can help me pinpoint what is going wrong. (Preferred solution: increasing a log4j log level.) I am using the tag inside the tag, but no error is detected here. I also have "mail.smtp.dsn.notify" turned on for "SUCCESS,FAILURE,DELAY", but I only receive notification in case the message was sent/delivered successfully, so that doesn't help a lot. >From a number of attempts, I expect the reason that some of my messages are not sent has to do with the 'from' address I give them. Still, if the SMTP server rejects the 'from' address, I would like to have some Exception thrown that I can at least log... (Unfortunately, I don't have access to the SMTP logs... yet) Am I missing something? Thanks, Yours, Jurjan-Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want.
