Hi, I am a beginner in php and I am trying to send emails from my machinne, I dont have any mail server installed in my computer (e.g. sendmail), btw i am running Windows XP, i wrote this script: <? $name=$HTTP_POST_VARS['name']; $email=$HTTP_POST_VARS['email']; $feedback=$HTTP_POST_VARS['feedback'];
$toaddress = '[EMAIL PROTECTED]'; $subject = 'Feedback from web site'; $mailcontent = 'Customer name: '.$name."\n" 'Customer email: '.$email."\n" "Customer comments: \n".$feedback."\n"; $fromaddress = 'From: [EMAIL PROTECTED]'; mail($toaddress, $subject, $mailcontent, $fromaddress); ?> and changed the php.ini to: [mail function] ; For Win32 only. SMTP = [EMAIL PROTECTED] smtp_port = 25 ; For Win32 only. sendmail_from = [EMAIL PROTECTED] Why it doesnt work? I am really lost here... if some nice-php-coder could help me I would really appreciate. thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php