Send Mail with SMTP settings
Moderator: General Moderators
-
jatinmahajan
- Forum Newbie
- Posts: 2
- Joined: Fri Dec 17, 2010 11:17 am
Send Mail with SMTP settings
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" .
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: Send Mail with SMTP settings
Theoretically, your server should already have mail server installed. You can test it by running this on it:
This question belongs in PHP - Code by the way.
Code: Select all
mail('youremail', 'test email', 'just a test email');-
jatinmahajan
- Forum Newbie
- Posts: 2
- Joined: Fri Dec 17, 2010 11:17 am
Re: Send Mail with SMTP settings
Thanx a lot . ..well just started using the forums ... i'll do remember to be inline with TOPICS in future .
-
stalinantoni
- Forum Newbie
- Posts: 1
- Joined: Sat Dec 18, 2010 1:11 am
Re: Send Mail with SMTP settings
We can send the mail using smtp with an attachment.
Please check the following url for attachment mail
http://www.codesmokers.blogspot.com/
Please check the following url for attachment mail
http://www.codesmokers.blogspot.com/