Page 1 of 1

No SMTP Server - Mail()

Posted: Tue Sep 05, 2006 8:34 pm
by gkwhitworth
Ok, I am pretty new to php and have my site hosted at a local computer store. I constantly get this error:

mail() [function.mail]: Failed to connect to mailserver at "mail.itsak.com" port 25, verify your "SMTP"


I called them and they said that they had no SMTP server running, they have it re-routed through someone. So I was hoping that there was some way I could pull off using a PHP contact form?

Please let me know.

~Greg

Posted: Tue Sep 05, 2006 8:35 pm
by feyd
I don't understand the question.

Ok then.....

Posted: Tue Sep 05, 2006 8:39 pm
by gkwhitworth
I am creating a php contact form....very simple. I am hosting my site at a local joint and am constantly getting the following message:

mail() [function.mail]: Failed to connect to mailserver at "mail.itsak.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\users\kwhitworth.com\scripts\sendmail.php on line 13

The problem is.....they don't even have an SMTP server running....sooooooo it of course wont find port 25 nor mail.itsak.com. Anyways. SO I need to make the form function from within this site using another SMTP...if there is one. I tried using google but that didn't work...so now I am very desperate and tired of trying to make this work.

Posted: Tue Sep 05, 2006 8:44 pm
by feyd
You may want to look into a specialized mailing class such as Swift or phpMailer.