Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

configuring SMTP email server

843830May 14 2002 — edited May 14 2002
HI
i'm new to java mail.and i'm following the javamail/jsp tutorial at http://www.jspinsider.com/tutorials/jsp/javamail/jspjavamail_2.view
i'm would like to know how to configure my SMTP email server ?
IN the tutorial there's this example in wich i have to replace the
Properties props = new Properties();
props.put("mail.smtp.host", "smtp.mail.example.com");
Session s = Session.getInstance(props,null);

"smtp.mail.example.com" value with my own SMTP email server.
HOw do i do that
thanks
Franck
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2002
Added on May 14 2002
2 comments
188 views