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= [EMAIL PROTECTED] ; 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:[EMAIL PROTECTED]] Sent: 19 January 2002 20:56 To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]