dannydefreak Posted February 9, 2007 Share Posted February 9, 2007 Hi. Yesterday i had a problem with all my php codes that i used to send an email with( it displayed an err msg like " Cannot connect to the mail server at "localhost" port 25....").I checked out different manuals and articles written about the mail() function and the php.ini configuration file, and after all that i was still not able to get my mail codes to work.I was very and i went home.And to my surprise, this morning it is working again. I said again because previously i had the same problem and i managed to find a solution to it( at least i managed to stop the error message from displaying ). The configuration file in the php.ini file is like [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. smtp_port = 25 ; For Win32 only. sendmail_from = NULL ; For Win32 only. sendmail_path = d Using this configuration, it stopped to display an error message.But the problem is the message is not being delivered to the destination email address. Can any one tell me why this is happening? Thanks. Link to comment https://forums.phpfreaks.com/topic/37726-help-on-sending-mail-with-php/ Share on other sites More sharing options...
JasonLewis Posted February 9, 2007 Share Posted February 9, 2007 are you running this from your computer? on a local webserver? one that you have setup? or is it based on the internet? Link to comment https://forums.phpfreaks.com/topic/37726-help-on-sending-mail-with-php/#findComment-180515 Share on other sites More sharing options...
dannydefreak Posted February 10, 2007 Author Share Posted February 10, 2007 Yes i am using a local server. What i would really like right now would be for some one to tell me all the things that are requiered to send a mail from my local server. Link to comment https://forums.phpfreaks.com/topic/37726-help-on-sending-mail-with-php/#findComment-181326 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.