RE: [PHP-WIN] New To PHP need help with mail

From: Date: Sun, 20 Jan 2002 15:40:23 +0000
Subject: RE: [PHP-WIN] New To PHP need help with mail
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-11526@lists.php.net to get a copy of this message
Asuuming you have PHP setup already, edit your PHP.ini file. Change your mail settings in it to: [mail function] ; For Win32 only. SMTP= mail.mysmtpserver.com ; for Win32 only ; For Win32 only. sendmail_from= youremailaddress@provider.com ; for Win32 only and save it. Then, in the formaction.php page, use the mail(); function. Full details can be found here http://www.php.net/manual/en/function.mail.php You should get the hang of it. Good luck Ross -----Original Message----- From: Burrito [mailto:ccrosland@aros.net] Sent: 19 January 2002 20:56 To: php-windows@lists.php.net Subject: [PHP-WIN] New To PHP need help with mail I have a good cold fusion background but am now trying to tackle a new beast. I really only need to have e-mail functionality on an action page from a form page. Here is exactly what I need. I have a form page that asks questions like: <form name="MyForm" action="formaction.php" method="post"> <input type="text" name="yourname"> <input type="radio" name="yourgender" value="male"> <input type="radio" name="yourgender" value="female"> <select name="hobby"> <option value="riding bikes">riding bikes</option> <option value="skiing">riding bikes</option> <option value="rafting">riding bikes</option> </select> <input type="submit" value="click here"> </form> I need to be able to e-mail the results of that form page to this address me@myself.com. My server name is mail.mysmtpserver.com. I know I'm asking a biggun' here, but with CF that would be a breeze so I'm assuming php can't be much harder. Can someone hook me up plz? thx in advance for your time, Burrito -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#11526) next »