Page 1 of 1

Send Mail with SMTP settings

Posted: Fri Dec 17, 2010 11:23 am
by jatinmahajan
i need to design a page where the forgotten password is sent by email to the user's email id already present in the database before. User just needs to enter his user login name and the matching password is fetched from the database and mail is sent to corresponding email id using the mail server installed on the system.could sumbody help me on making the same and the "smtp settings" .

Re: Send Mail with SMTP settings

Posted: Fri Dec 17, 2010 11:29 am
by Jonah Bron
Theoretically, your server should already have mail server installed. You can test it by running this on it:

Code: Select all

mail('youremail', 'test email', 'just a test email');
This question belongs in PHP - Code by the way.

Re: Send Mail with SMTP settings

Posted: Fri Dec 17, 2010 11:52 am
by jatinmahajan
Thanx a lot . ..well just started using the forums ... i'll do remember to be inline with TOPICS in future .

Re: Send Mail with SMTP settings

Posted: Sat Dec 18, 2010 1:15 am
by stalinantoni
We can send the mail using smtp with an attachment.

Please check the following url for attachment mail

http://www.codesmokers.blogspot.com/