most likely you have to get relaying approved. I've had a similar problem and had to jettison the idea of JavaMail for now, due to the relaying problem.
I could send through my desktop and only my email address through my ISP would receive it, and then only in the Bulk Mail folder! Quite an aggravation, and I never found from anyone anywhere, short of seeing the administrator, how to solve this problem. Problem for me was twofold: 1) how I do get my ISP to let other email addresses approved? 2) getting an email admin here at work to approve this was like getting Iran to concede on every nuclear point the U.S. or U.N. wants to adopt! -----Original Message----- From: Ovi Comes [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 3:04 PM To: users@tomcat.apache.org Subject: javamail + tomcat Hi, I need help with javamail in tomcat. Here is my issue: if send an email to an yahoo account, from my junit class everything is ok. When I run the same code in Tomcat, on the same machine, my email goes to spam/bulk folder. What is going on? Thanks, Ovi -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.6/427 - Release Date: 8/24/2006 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]