Login   Register  
PHP Classes
elePHPant
Icontem

PHPMailer and PHP5.3

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHPMailer  >  All threads  >  PHPMailer and PHP5.3  >  (Un) Subscribe thread alerts  
Subject:PHPMailer and PHP5.3
Summary:Issues when using PHPMailer under PHP version 5.3
Messages:2
Author:Lautaro Lacurcia
Date:2011-03-20 14:16:27
Update:2013-11-10 14:53:57
 

  1. PHPMailer and PHP5.3   Reply   Report abuse  
Picture of Lautaro Lacurcia
Lautaro Lacurcia
2011-03-20 14:16:28
Hi!

I've been using PHPMailer for years now and I'm 100% satisfied, very easy to use and integrate, easy to portate to other servers using different emailing configurations, etc.

Lately, I have installed PHP 5.3 and, when testing my applications that use PHPMailer I receive these messages:

"
Warning: 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/Sao_Paulo' for '-3.0/no DST' instead in C:\apache\Apache2.2\htdocs\pruebas\lautaro\Portfolio\pruebas\Martin\1-DrinksForTwo\lib\phpmailer\class.phpmailer.php on line 1406

Warning: 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/Sao_Paulo' for '-3.0/no DST' instead in C:\apache\Apache2.2\htdocs\pruebas\lautaro\Portfolio\pruebas\Martin\1-DrinksForTwo\lib\phpmailer\class.phpmailer.php on line 1410

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\apache\Apache2.2\htdocs\pruebas\lautaro\Portfolio\pruebas\Martin\1-DrinksForTwo\lib\phpmailer\class.phpmailer.php on line 1091

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\apache\Apache2.2\htdocs\pruebas\lautaro\Portfolio\pruebas\Martin\1-DrinksForTwo\lib\phpmailer\class.phpmailer.php on line 1095
"

I would like to know whether there is any newer version available for this class or do I have to update it manually?

Waiting for a reply, Thanks for your excellent work,

Best regards,
Lautaro.




  2. Re: PHPMailer and PHP5.3   Reply   Report abuse  
Picture of Elias
Elias
2013-11-10 14:53:57 - In reply to message 1 from Lautaro Lacurcia
Well, i think it is because you haven't set the default timezone in your php.ini look at file and find
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone=HERE YOU GOES YOUR TIMEZONE.
example (my timezone):
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone=America/Argentina/Buenos_Aires