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

Gottwig, Jeremy M. (GSFC-272.0)[ZIMMERMAN & ASSOC.] jeremy.m.gottwig at nasa.gov
Wed Apr 7 16:00:57 UTC 2010


I recommend adding date.timezone to your php.ini file.

For example:

date.timezone = "America/Anchorage"

Here's a list of timezones:

http://nl3.php.net/manual/en/timezones.php


-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of John Mitchell
Sent: Wednesday, April 07, 2010 11:55 AM
To: support
Cc: John Mitchell
Subject: Re: [support] Unable to send e-mail. Please contact the site administrator if the problem persists.

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
-- 
[ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list