Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sending email to multiple Recipients

 
Mariya Antony christopher
Ranch Hand
Posts: 49
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Iam developing webapplication in that one module it will sending alert email to persons who are not belong to certain criteria
.i have implemented to sending a email to particular person but i need help to implement mail sending multiple Recipents.
Suggest the way to proceed!


 
Wendy Gibbons
Bartender
Posts: 1110
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which bit of sending to multiple recipients is confusing you?
can you show us how you are sending it to one person?
 
Mariya Antony christopher
Ranch Hand
Posts: 49
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



[Edit - added code tags - see UseCodeTags]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing to do with JSP. Moved to a more appropriate location.
 
Wendy Gibbons
Bartender
Posts: 1110
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you look at the java api docs for MimeMessage you will find the very methods you are after.
addRecipients

http://docs.oracle.com/javaee/6/api/javax/mail/internet/MimeMessage.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic