*
The moose likes Other JSE/JEE APIs and the fly likes sending email to multiple Recipients Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "sending email to multiple Recipients" Watch "sending email to multiple Recipients" New topic
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: 1107

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: 60789
    
  65

Nothing to do with JSP. Moved to a more appropriate location.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sending email to multiple Recipients
 
Similar Threads
jsp&java mail :How to send email to multiple users ?
Ordering Enthuware EJB+
JavaMail but no SMTP
Tomcat error HTTP Status 500 -(JSP page error (Unable to compile class for JSP )
How to do self marketing / branding in the company?