Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send email 1

Status
Not open for further replies.

bamuthan6666

Programmer
Sep 2, 2002
5
0
0
US
Hi,

I need to send email from my jsp,is there any tutorial which gives step by step instrutction on how to execute it.
I have added the activation, and javamail jar to my class path and started writing a class but still not sure how.
Can some one give me an example or point me to one?

Thanks!


 
I was stuck on this for ages - most tutorials don't make any sense to me.

try this one:


make sure you change the smtp to be one you have access to. Should that be a problem you can download personal smtp servers so your localhost port 25 can be a live smtp address.

i turned his bean file in a normal class file once i'd got everything working because that was easier for me, but the general idea should help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top