Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in c:\saturnspot\website\contact.php on line 136
mail not sent
Line 136:
Code: Select all
mail($emailto, $subj, $mesg, 'From: '.$_POST['emaila'].''."\r\n".'Content-Type: text/html; charset=iso-8859-1\n Content-Transfer-Encoding: 8bit\n')or die('mail not sent');c:\nusphere\apache
c:\nusphere\apache\php
In both files, I changed the 'sendmail' info to this:
Code: Select all
[mail function]
; For Win32 only.
SMTP = mail.charter.net
; For Win32 only.
;sendmail_from = tristanlee1985@charter.net