aspose file tools*
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 Spring in Action this week in the Spring 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: 1527
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can i send mail to different user on different smtp servers.