• Post Reply Bookmark Topic Watch Topic
  • New Topic

sending email to multiple Recipients  RSS feed

 
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!


 
Bartender
Posts: 1111
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]
 
Author and ninkuma
Marshal
Posts: 66484
160
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 L Gibbons
Bartender
Posts: 1111
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
 
Would you turn that thing down? I'm controlling a mind here! Look ... look at the tiny ad ...
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!