use javamail api but be warned you somehow have to be crafty to incorporate the emails in an array from the database, I have tested this and you can not use this directly on a jsp page which is sending out the emails.
----- Original Message ----- From: "Vibha Jindal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 22, 2002 12:55 AM Subject: Bulk Email > Hi, > > Could someone please guide me as to the optimum way of sending bulk emails? > > Should I use 'mailto' tag, > > mailto:a=href"mailto:[EMAIL PROTECTED]?[EMAIL PROTECTED]&[EMAIL PROTECTED],[EMAIL PROTECTED] > &Subject=jdflkjdf&Body=lksdflkjsd"> > > There could be more than 3000 email address in the BCC > > Or should we use javax.mail API > > Set up an array of Address objects and then send them in one call using > sendMessage. For example: > > Transport transport = session.getTransport(addressObjects[0]); > transport.connect(); > transport.sendMessage(message,addressObjects); > > The mail server will then take the one copy of the message and send it to > multiple addresses. It doesn't need to receive thousands of copies of the > same message. > > I need to know which startegy is better as regards the Performance and > feasibility. > > Regards, > Vibha > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
