Page 1 of 1

Couldn't get mail() to work if my life depended on it

Posted: Thu Feb 24, 2005 5:58 pm
by miphesto
Hi guys ,
As part of a uni project I am trying to inpliment email in a website project I am buliding. I had apache, PHP & mysql installed at home. I tried to send mail using the mail() command with no sucsess. I installed a packet sniffer to see what was going on when the mail was sent. Activity was noted but no smtp. I was infact trying to bounce the mail off my ISP's smtp server. I get the feeling that the connection to the server has been made but without authentication the server will not forward the mail that I send to it.

I now have a hosted site with my own smtp server but this problem still remains.
Outlook requires username and password to connect to a pop3 server and authentication for the smtp server.

The main question I have is : How can I pass username and password details to an smtp server and is that what I need to be doing to send mail.

I have tried quite a lot of code samples from various sources all with the same effect....no mail sent
Can anyone help me out.................................. :? :?

Posted: Thu Feb 24, 2005 6:05 pm
by feyd
might want to look at phpmailer.. I believe it supports authentication.