Thanks guys for your recomendations.

> On Tue, May 6, 2008 at 4:52 PM, duRqoo <[EMAIL PROTECTED]> wrote:
> >  It's really strange that your emails size is growing, but one thing
> >  i've noticed from your code is that you are sending mails to each
> >  address separately. Try using $cc or $bcc attribute, so u can send
> >  same mail to more then one address at once. So get all addresses to an
> >  array assign them to $cc or $bcc variable and execute the send method
> >  just once, maybe that will help solve your issues in case you don't
> >  have any crazy text stacking loop in mail template :).

I´m sending one by one to have some kind of control of what mails are
sended and what others arent. If you look at the code, you will notice
that if the mail sends, the corresponding row of the Queue Table is
deleted. Also, the client wants that every suscriber of the Newsletter
receives the mail as it was personal, without cc or bcc.


On May 6, 12:01 pm, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
> I don't know the answer to your problem but you can look at swift
> mailer - they have some nice ways of sending mass emails.
> I've built a swift mailer sender on top of email component  but it was
> client work so unfortunately i cant share it :/
> there was a mass mailer component at devmoz.com afair

My intention was to use the component that Cake brings in its core.
However, I will take a look at the wsift mailer.

Lastly, I wanna told to you that I´ve solved the problem, the solution
aint beauty but seems like it´s working. I change the code and now
before every sent, I do $this->Email->reset() and load all the headers
and body of the email again. In this way, the size of the mail stills
the same in every sent.

Thanks again,
mbavio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to