[support] Unable to send e-mail. Please contact the site administrator if the problem persists.

John Mitchell mitchelljj98 at gmail.com
Wed Apr 7 15:55:02 UTC 2010


I found a mail server to connect to so I updated the php.ini file and
I no longer get the "Failed to connect to mailserver at "localhost"
port 25", but now I get the below error:

warning: mail(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those
methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'America/New_York' for
'-4.0/DST' instead in C:\Program Files\Apache Software
Foundation\Tomcat 6.0\webapps\drupal\includes\mail.inc on line 193.

John

On 4/7/10, John Mitchell <mitchelljj98 at gmail.com> wrote:
> I get the below error when I initially set up drupal and whenever it
> tries to send an email:
>
>     * warning: mail(): Failed to connect to mailserver at "localhost"
> port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use
> ini_set() in C:\Program Files\Apache Software Foundation\Tomcat
> 6.0\webapps\drupal\includes\mail.inc on line 193.
>     * Unable to send e-mail. Please contact the site administrator if
> the problem persists.
>     * warning: mail(): Failed to connect to mailserver at "localhost"
> port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use
> ini_set() in C:\Program Files\Apache Software Foundation\Tomcat
> 6.0\webapps\drupal\includes\mail.inc on line 193.
>     * Unable to send e-mail. Please contact the site administrator if
> the problem persists.
>
> How do I fix this?
>
> Thanks,
>
> John
>
> --
> John J. Mitchell
>


-- 
John J. Mitchell


More information about the support mailing list