I confirmed that my problem was unrelated to log4j and SMTPAppender but was
instead caused by geronimo-javamail-1.4_spec-1.3.jar. The geronimo-javamail
.jar is distributed with Apache CXF and listed as a dependency for CXF, but a
search shows that others have had mail formatting problems when us
Thanks for the response. I set debug=true and didn't find anything of interest,
but then I noticed that geronimo-javamail is on my classpath in addition to sun
mail.jar. I suspect this is the root of my problem.
Thanks,
Brad
- Original Message
From: Douglas E Wegscheid
Can you se
Can you set log4j.debug=true in your properties? you will get a lof of
output to System.out, which will tell you how log4j is configuring itself.
btw, your config looks good. any chance that your mail system is doing
something to the message?
Douglas E Wegscheid
Lead Technical Analyst, Whirlpoo
I've successfully configured SMTPAppender to send email, and am receiving
emails, but the "Subject" field is always empty, and the "To" field is always
"undisclosed-recipients" rather than the email address of the recipient(s). Am
I doing something wrong? Is there a way to set the Subject? All o