"sendmail_from" not set in php.ini or custom "From:" header missing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Doug

    "sendmail_from" not set in php.ini or custom "From:" header missing

    Content-Type: text/plain; charset=us-ascii; format=flowed
    Content-Transfer-Encoding: 7bit
    Lines: 14
    Message-ID: <9DxFc.23833$bs 4.23734@newsrea d3.news.atl.ear thlink.net>
    Date: Sat, 03 Jul 2004 12:27:49 GMT
    NNTP-Posting-Host: 24.136.228.213
    X-Complaints-To: abuse@earthlink .net
    X-Trace: newsread3.news. atl.earthlink.n et 1088857669 24.136.228.213 (Sat, 03 Jul 2004 05:27:49 PDT)
    NNTP-Posting-Date: Sat, 03 Jul 2004 05:27:49 PDT
    Organization: EarthLink Inc. -- http://www.EarthLink.net
    Xref: number1.nntp.dc a.giganews.com alt.comp.lang.p hp:26474 comp.lang.php:6 5898


    I saw a lot of messages out there regarding this problem, so, thought i
    would post the solution.

    To any one getting the error message:
    "sendmail_f rom" not set in php.ini or custom "From:" header missing
    when trying to send mail using the mail() function in Windows,

    The solution is: whenever you change the php.ini file, you must also
    reset the web server. Then all of the PHP variables that you set will
    be seen by the server.

    -d

Working...