Hi there,
I have been trying to use formmail.php to an html contactus form. But I am facing problem receiving mails from the form.
Before I proceed further, my ISP has forwarded me that for an smtp relay use this : smtpout.secureserver.com (not exactly just to avoid any misuse). I tried adding this here:
$PEAR_SMTP_HOST = "smtpout.secureserver.com";
$PEAR_SMTP_PORT = 25;
$PEAR_SMTP_USER = "";
$PEAR_SMTP_PWD = "";
(doesn't require user and pwd)
but I get this error on testing below testalert option:
http://mydomain.com/formmail.php?testalert=1
it shows as: FAILED to send alert message. Check your server error logs.
I am using this for other site which is hosted on a linux server but the current page which I need is hosted on a windows server.
Using above method I get another error after SUBMIT form:
Fatal error: domail(): Failed opening required 'Mail.php' (include_path='.;./includes;./pear') in C:\Inetpub\vhosts\mydomain.com\httpdocs\formmail.php on line 4930
Please suggest me what shall I do to use formmail now.
Appreciate someone's help. Thank You!


Reply With Quote

Bookmarks