Hi,
Does anyone know to send more than one string data as an e-mail message
using JavaMail. With this code, I can only send one string data only the
last one, in this case, "spell". I want to send both (actually more,
multiple) string data.
Thanks in advance.
Taro
------------------
String name = req.getParameter("name");
String spell = req.getParameter("spell");
msg.setContent(name,"text/plain; charset=ISO-2022-JP");
msg.setContent(spell,"text/plain; charset=ISO-2022-JP");
Transport.send(msg);
-------------
===========================================================================
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