No SMTP Server - Mail()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
gkwhitworth
Forum Commoner
Posts: 85
Joined: Tue Sep 05, 2006 8:28 pm
Location: Wasilla, Alaska

No SMTP Server - Mail()

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I don't understand the question.
User avatar
gkwhitworth
Forum Commoner
Posts: 85
Joined: Tue Sep 05, 2006 8:28 pm
Location: Wasilla, Alaska

Ok then.....

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You may want to look into a specialized mailing class such as Swift or phpMailer.
Post Reply