how to send an email
i needed ur help regarding sending an email...my question is as follows: when the user clicks on the submit button after entering his details in the form...these details shud be sent to the admin via email..
so on submit 2 actions must occur :
1}data geting stored in database(dats done)
2}sending these details via mail to the admin..
and dis shud be done evrytym a new enquiry has been submitted...
thanks in advance...i have a deadline to meet..can sum1 give me the code...
mine is an enquiry form...its realy urgent...
it is so simple dear..
when you submit the form you can get the value on the same page / different jsp page.
then you can code both things there.
i have coded so many pages like this...
if you get some prob then show me the code / ask me for the logic
google and find a lot of samples to save data to db and send email.