Menu

Help - Mail Error on Mail Form Can't Figure i

Help
Chris
2009-07-21
2013-06-03
  • Chris

    Chris - 2009-07-21

    "Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampplite\htdocs\processor.php on line 37"

    The above line is what i get when i try to submit a test to a form i generated on phpformgenerator's site.
    Its a quotation form which then should email us letting us know we have a new quote.
    But i get the above error.
    Im testing the form in a virtual machine with xamp installed.  apache/php/mysql are showing running.
    I have made some edits to the php.ini file but i could not resolve the issue.
    Any help pointing me in the right direction would be amazing.
    im new to php but not computers, just programming.
    Thank you 

     
    • TNTEverett

      TNTEverett - 2009-07-21

      Looks like either the mail function syntax is wrong or there is some strict rules for using the function turned on.  If the form worked before on another site then I would say it is server setup, but if the form never workrd the issue is in the process.php file. 

       
    • Chris

      Chris - 2009-07-21

      hi.  no this is the first time attemp with this form.

       
    • Chris

      Chris - 2009-07-21

      i figured it out.  in my php.ini file, i original used the internal ip of our mail server for "smtp server".
      so i changed it to it's dns name and it worked.
      thanks

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.