Quantcast

CakeEmail SMTP syntax error 555 (#5.5.4) while sending e-mail to multiple users (with the use of bcc array)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

CakeEmail SMTP syntax error 555 (#5.5.4) while sending e-mail to multiple users (with the use of bcc array)

Anna P
Hello.

I have following problem: I use Smpt method to deliver e-mails from website.

E-mails which are sent to just one recipient (for example: message with registration confirmation, message with new password, etc.) work just fine.

The problem is when it comes to send message to multiple recipients, while sending a newsletter.

When I try to send newsletter to let's say 2 e-mail addresses - it all works fine. But when I try to send it to all users (about 200 of them), there is a following error:


SMTP Error: 555 syntax error (#5.5.4)

Error: An Internal Error Has Occurred.

Stack Trace

#0 /home/users/opg/public_html/lib/Cake/Network/Email/SmtpTransport.php(156): SmtpTransport->_smtpSend('RCPT TO:_sendRcpt()
#2 /home/users/opg/public_html/lib/Cake/Network/Email/CakeEmail.php(967): SmtpTransport->send(Object(CakeEmail))
...

What could be the cause of this? I cannot find any information in the web. Could it be something wrong with the mail server?
I checked e-mail addresses, to which the newsletter was going to be sent - and they all seem correct.

Thank you in advance

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: CakeEmail SMTP syntax error 555 (#5.5.4) while sending e-mail to multiple users (with the use of bcc array)

lowpass
Better triple-check those addresses. It's easy to miss something. Were
all of them validated by cake as email addresses when saved to the DB?

Are you including names as well as email addresses? Maybe something's
wrong there.

And check the server's mail log. That should show you where in the
list of addresses the failure is occurring.

On Thu, Aug 2, 2012 at 7:37 AM, Anna P <[hidden email]> wrote:

> Hello.
>
> I have following problem: I use Smpt method to deliver e-mails from website.
>
> E-mails which are sent to just one recipient (for example: message with
> registration confirmation, message with new password, etc.) work just fine.
>
> The problem is when it comes to send message to multiple recipients, while
> sending a newsletter.
>
> When I try to send newsletter to let's say 2 e-mail addresses - it all works
> fine. But when I try to send it to all users (about 200 of them), there is a
> following error:
>
>
> SMTP Error: 555 syntax error (#5.5.4)
>
> Error: An Internal Error Has Occurred.
>
> Stack Trace
>
> #0
> /home/users/opg/public_html/lib/Cake/Network/Email/SmtpTransport.php(156):
> SmtpTransport->_smtpSend('RCPT TO:_sendRcpt()
> #2 /home/users/opg/public_html/lib/Cake/Network/Email/CakeEmail.php(967):
> SmtpTransport->send(Object(CakeEmail))
>
> ...
>
> What could be the cause of this? I cannot find any information in the web.
> Could it be something wrong with the mail server?
> I checked e-mail addresses, to which the newsletter was going to be sent -
> and they all seem correct.
>
> Thank you in advance
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [hidden email] For more options, visit this group at
> http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: CakeEmail SMTP syntax error 555 (#5.5.4) while sending e-mail to multiple users (with the use of bcc array)

Anna P
It turned out that mail server had limit on number of recipients in one e-mail (I tried to send one mail to 200 e-mail addresses, the limit was 100 recipients).

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: CakeEmail SMTP syntax error 555 (#5.5.4) while sending e-mail to multiple users (with the use of bcc array)

lowpass
Much better to send separate messages for each recipient. I'm not sure
if CakeEmail is able to do that (someone correct me if I'm wrong). I
use SwiftMailer to send bulk messages.

On Mon, Aug 6, 2012 at 6:11 AM, Anna P <[hidden email]> wrote:

> It turned out that mail server had limit on number of recipients in one
> e-mail (I tried to send one mail to 200 e-mail addresses, the limit was 100
> recipients).
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [hidden email] For more options, visit this group at
> http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[hidden email] For more options, visit this group at http://groups.google.com/group/cake-php
Loading...