Page 1 of 1

Sending failed using mail() as PHP's default mail() function

Posted: Thu Aug 07, 2008 4:31 pm
by SoHo
Hi, I'm using Swift 3.1.3 with PHP 5.2.6 and have a problem with making it work. I'm getting following error:

Sending failed using mail() as PHP's default mail() function returned boolean FALSE

I know that mail() works on the server and sendmail_path seems to be correct. Any suggestions?

Re: Sending failed using mail() as PHP's default mail() function

Posted: Fri Aug 08, 2008 7:20 am
by susrisha
Two things dude.. either u didnot set the SMTP listener right or the the internet provider has a default email service which will usually disable any transactions through port 25 which happens to be the port for sending emails..

config file settings to be checked are:

smtp listening port - check if it is 25 and if it is enabled..

Re: Sending failed using mail() as PHP's default mail() function

Posted: Fri Aug 08, 2008 9:31 am
by SoHo
I have smtp port 25 and it is enabled. mail() command works fine. I should also probably mention that I'm using SwiftMailer component with cakePHP if it makes a difference.