PHP Classes

Found an error

Recommend this page to a friend!

      Easy SMTP Mail Class  >  All threads  >  Found an error  >  (Un) Subscribe thread alerts  
Subject:Found an error
Summary:error in $message variable
Messages:2
Author:Lorenzo Pedrotti
Date:2012-06-22 13:15:14
Update:2012-06-22 15:08:58
 

  1. Found an error   Reply   Report abuse  
Picture of Lorenzo Pedrotti Lorenzo Pedrotti - 2012-06-22 13:15:14
Great job, this is exactly what I needed to send emails throug gmail without writing all the code by myself.

Anyway I think there's an error on line 370 of SMTP.MAIL.CLASS.PHP.

Class variable $this->Message is undefined, you probably wanted to refer to the $message parameter of the sendData function. I made the correction and now for me it works.

Have a look, and I hope this helps

  2. Re: Found an error   Reply   Report abuse  
Picture of Usman Didi Khamdani Usman Didi Khamdani - 2012-06-22 15:08:58 - In reply to message 1 from Lorenzo Pedrotti
Thank you for your correction. Yes, it should refer to $message, not $this->Message. As is in next line for $HTMLMessage variable, it refer to $message, not $this->Message. $this->Message is use in easy.mail.class.php