A visitor has submitted a fix for the Contact Form. If you host your site on a Windows server you may have trouble with sending mail.
Here is a letter I received from a visitor:
Hi there,
Fyi - I found the fix in the php manual, on a forum:
Under windows there is a bug in php/mail
See here: http://bugs.php.net/bug.php?id=28038
this results in you being unable to send 'From: Full Name
Workaround is:
Set the following before calling the mail function:
ini_set('sendmail_from', 'me@domain.com');
this has worked for me and I'm now happy! Thanks for looking into it all the
same.
Regards,
Karen
Thanks Karen!
You can now obtain our example scripts and/or vote for them at Hotscripts. To visit Hotscripts click here. |
PHP Contact Form fix for Windows servers
Posted by Anonymous | 12:37 AM | code , contact | 0 comments »
Bookmark / Share:
|
Do you have a thought about this article? Post a comment and tell us about it!
Post a Comment