swiftMailer默认时区中的警告

时间:2015-03-28 14:13:51

标签: php swiftmailer

我正在使用swiftMailer并且工作正常但在将邮件发送到我的Gmail帐户后,我收到以下警告消息:

Warning: date(): 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 the timezone 'UTC' for
now, but please set date.timezone to select your timezone 
in /home/jaydeepkanada/public_html/ramienterprise.com/swiftmailerTest/swiftmailer-5.x/lib/classes/Swift/Mime/Headers/DateHeader.php on line 119

请你帮我解决这个问题,
提前谢谢你......

0 个答案:

没有答案