【发布时间】:2012-01-12 06:43:12
【问题描述】:
我正在使用 codeigniters 电子邮件助手 (SMTP) 从我的网站发送电子邮件
电子邮件已成功发送到我的收件箱,但我收到以下错误:
A PHP Error was encountered
Severity: Warning
Message: date() [function.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 'America/Los_Angeles' for 'PST/-8.0/no DST' instead
Filename: libraries/Email.php
Line Number: 704
我最近将我的主机切换到了 mediatemple,并且之前没有收到过这样的消息。我需要在某处或时区指定时间格式吗??
【问题讨论】:
标签: php email codeigniter time smtp