JSP and javamail
2 posts in topic
Flat View  Flat View

Posted By:   Stephen_Hatfield
Posted On:   Wednesday, March 21, 2001 05:14 PM

When I attempt to use a JSP to email contents of an HTML form running in WebSphere Application Server v3.5, I get an error when WAS attempts to compile JSP. Left side doesn't mtach right side of last line in code listing below. Any suggestions?

Properties props = new Properties();
Session sendMailSession;
Store store;
Transport transport;

sendMailSession = Session.getInstance(props, null);

props.put("mail.smtp.host", "smtp.myserver.com");

Message newMessage = new MimeMessage(sendMailSession);

Re: JSP and javamail

Posted By:   Kent_Zhou  
Posted On:   Tuesday, November 27, 2001 09:07 AM

Sorry, this is not for answering but for a help on installing/configuring JavaMail on WAS 3.54.
Thank you in advance.


Re: JSP and javamail

Posted By:   May_Fong  
Posted On:   Thursday, June 14, 2001 11:54 AM

What kind of the error you got?
About | Sitemap | Contact