Page 1 of 1

Unable to send mail

Posted: Wed Aug 01, 2007 3:58 pm
by Yourchild
I'm using the mail() function.

This is what I have:


SMTP = localhost
smtp_port = 25

sendmail_from = me@mycompany.com

;sendmail_path =


I'm getting this warning:

Failed to connect to the mailserver at "localhost".



I am testing this function on the local server. What do I need to change?

I am using Windows vista and I'm new to it. Is there IIS on this OS and where do I find it?

Posted: Wed Aug 01, 2007 4:08 pm
by John Cartwright
Do you have an SMTP server installed?

Posted: Wed Aug 01, 2007 4:09 pm
by Burrito
moved to code.

Posted: Wed Aug 01, 2007 5:06 pm
by Technocrat
I think you will find this much easier to use for what your trying to do:
http://www.swiftmailer.org/ ;)