This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes How can i send mail to different user on different smtp servers. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How can i send mail to different user on different smtp servers." Watch "How can i send mail to different user on different smtp servers." New topic
Author

How can i send mail to different user on different smtp servers.

Prateek Jauhari
Greenhorn

Joined: Mar 07, 2011
Posts: 26

Hi All,
I need to send mail using java mail api 1.3.3 where receivers are on different smtp servers.

Actually I have a list of to and cc members where user may or may not have different smtp servers.
I need to send the same mail to everyone.

Is it possible to do so >?

Please suggest.


Regards
Prateek
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
If you can send a mail to an address from your mail-client, you should be able to do the same with Java Mail API also. What have you done so far?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
It doesn't matter what the email adresses are; you'd use the JavaMail API to connect to a mail server you have access to.
 
wood burning stoves
 
subject: How can i send mail to different user on different smtp servers.
 
Similar Threads
how to know the domain names of the smtp servers
Email Address Validation
Outgoing Mail: Username/Password
Blank Email Notification
java mail configuration???