PHP Classes

error

Recommend this page to a friend!

      cMail  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Subject:error
Summary:localhost error
Messages:4
Author:Gav Mann
Date:2012-04-28 20:10:59
Update:2012-05-02 01:07:20
 

  1. error   Reply   Report abuse  
Picture of Gav Mann Gav Mann - 2012-04-28 20:10:59
Hi, thanks for the code. Trying to test on my localhost but getting the following error.

Warning: mail() [function.mail]: SMTP server response: 554 Attempted buffer overflow attack detected - terminating connection

I'm using windows 7 / xampp set up. Can send mail via localhost for testing but getting the error when trying your code.

Any idea what I'm doing wrong or changes required to php.ini file?

  2. Re: error   Reply   Report abuse  
Picture of Archzilon Eshun-Davies Archzilon Eshun-Davies - 2012-04-28 23:33:51 - In reply to message 1 from Gav Mann
Hi

Thanks for using cMail, the error you are getting is because I used
double newlines instead of one I did this when I had to use it on
a server that require double new lines I would add a fix right away.

So you can retry and let me know how it went.

  3. Re: error   Reply   Report abuse  
Picture of Gav Mann Gav Mann - 2012-04-29 17:16:41 - In reply to message 2 from Archzilon Eshun-Davies
Thanks.

I tried again with changed files.

Everything working OK with hosting service I use.

When trying on localhost, the $message and $file do not come through but the email does?

It's probably my xampp set up as code is working OK on hosting service.

  4. Re: error   Reply   Report abuse  
Picture of Archzilon Eshun-Davies Archzilon Eshun-Davies - 2012-05-02 01:07:20 - In reply to message 3 from Gav Mann
Hi

Good to hear that you are ok now.

Best Regards