• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Prateek Jauhari
Greenhorn
Posts: 26
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic