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!

javamail help please

843830Aug 18 2005
in asp code for sending mails we r using this line of code.
how to implement this using javamail api can anybody help us
asp code is:
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mail.truckstop.com"
Mailer.FromName = "Allen Lund Website"
Mailer.FromAddress = "support@truckstop.com"
Mailer.AddRecipient "Ken Lund","ken@allenlund.com"
Mailer.Subject = Request.Form("Subject")
Mailer.BodyText = "FROM: "&Request.Form("WhoFrom")&CHR(10)&CHR(10)&"Message: "&Request.Form("Message")
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2005
Added on Aug 18 2005
0 comments
71 views