| Author |
sending email to multiple Recipients
|
Mariya Antony christopher
Ranch Hand
Joined: Jan 24, 2012
Posts: 49
|
|
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
Joined: Oct 21, 2008
Posts: 1098
|
|
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
Joined: Jan 24, 2012
Posts: 49
|
|
[Edit - added code tags - see UseCodeTags]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
|
Nothing to do with JSP. Moved to a more appropriate location.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Wendy Gibbons
Bartender
Joined: Oct 21, 2008
Posts: 1098
|
|
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
|
 |
 |
|
|
subject: sending email to multiple Recipients
|
|
|