This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Not able To Send Mail Outside Of Domain Name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Not able To Send Mail Outside Of Domain Name" Watch "Not able To Send Mail Outside Of Domain Name" New topic
Author

Not able To Send Mail Outside Of Domain Name

sandip sangale
Greenhorn

Joined: Jun 22, 2009
Posts: 15
I am Not able to send Mail from username@domain.net on Gmail account.
But it Working fine if i Send mail from username@domain.net TO username_two@domain.net

Tell me if i am doing anything wrong here.





I am Getting Following Exception...






Please suggest me solution for these exception.

Thanks .
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Talk to the manager of the SMTP server you are using and ask him or her why that is happening.
 
Don't get me started about those stupid light bulbs.
 
subject: Not able To Send Mail Outside Of Domain Name
 
Similar Threads
JavaMail API
Error in send Mail using Java Mail
How to send a mail to different email id
Sending Email in java through MS Exchange Server
SecurityException while sending to gmail from javamail