Seems to happening with my config too:

                App::uses('CakeEmail', 'Network/Email');
                $body = print_r($click, true) . ' - ' . print_r($product, true);
                $email = new CakeEmail();
                $email->from('and...@andraskende.com');
                $email->to('and...@kende.com');
                $email->subject(env('HTTP_HOST') . ' - click - ' . date('Y-m-d 
H:i:s'));
                $email->send($body);


Sep 22 21:39:06 localhost postfix/pickup[10492]: 30B163F707: uid=33 
from=<www-data>
Sep 22 21:39:06 localhost postfix/cleanup[11886]: 30B163F707: 
message-id=<4e7be33a-0be8-48f2-84b1-2c3242e42...@www.unionofsports.com>
Sep 22 21:39:06 localhost postfix/qmgr[29587]: 30B163F707: 
from=<www-d...@li285-82.members.linode.com>, size=2893, nrcpt=1 (queue active)
Sep 22 21:39:06 localhost postfix/pickup[10492]: 36B5C3F708: uid=33 
from=<www-data>
Sep 22 21:39:06 localhost postfix/cleanup[11892]: 36B5C3F708: 
message-id=<4e7be33a-0be8-48f2-84b1-2c3242e42...@www.unionofsports.com>
Sep 22 21:39:06 localhost postfix/qmgr[29587]: 36B5C3F708: 
from=<www-d...@li285-82.members.linode.com>, size=2893, nrcpt=1 (queue active)
Sep 22 21:39:06 localhost postfix/smtp[11893]: 30B163F707: 
to=<and...@kende.com>, relay=aspmx.l.google.com[74.125.115.26]:25, delay=0.55, 
delays=0.01/0/0.06/0.48, dsn=2.0.0, status=sent (250 2.0.0 OK 1316741946 
n3si2277992vcu.198)
Sep 22 21:39:06 localhost postfix/qmgr[29587]: 30B163F707: removed
Sep 22 21:39:06 localhost postfix/smtp[11894]: 36B5C3F708: 
to=<and...@kende.com>, relay=aspmx.l.google.com[74.125.115.26]:25, delay=0.61, 
delays=0/0/0.07/0.54, dsn=2.0.0, status=sent (250 2.0.0 OK 1316741946 
k11si2287874vcq.91)
Sep 22 21:39:06 localhost postfix/qmgr[29587]: 36B5C3F708: removed


Gmail removes the duplicates though..


Andras Kende



On Sep 22, 2011, at 8:35 PM, Vinícius Moraes de Araújo wrote:

> It happens to me too,
> 
> Atenciosamente,
> 
> Vinícius Moraes
> 
> 
> 2011/9/22 #2Will <willjbar...@gmail.com>
> I have Upgraded to the new RC2 but this is still an issue.
> 
> This happens with either the default Mail config or using gmail as
> smtp. So it dosn't seem to be something to do with the server.
> 
> 
> if anybody can shed any light on this, that would be awesome.
> 
> will
> 
> 
> 
> 
> 
> On Sep 22, 3:25 pm, "#2Will" <willjbar...@gmail.com> wrote:
> > Still stuck on this.
> >
> > Whats odd is it is sending duplicates to my work email, and another
> > pop type email - but if i set the to my gmail, just the one email.
> >
> > Seems odd.  Must be a reason.
> >
> > w
> >
> > On Sep 14, 4:25 pm, "#2Will" <willjbar...@gmail.com> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hello
> >
> > > My little app is sending duplicates of itsemails.
> >
> > > Here is an example function:
> > > [code]
> > > $this->log($media);
> > > App::uses('CakeEmail', 'Network/Email');
> > > $CakeEmail = new CakeEmail();
> > > $CakeEmail->viewVars(array('media'=>$media, 'person'=>$person));
> > > $CakeEmail->from(Configure::read('app.email'));
> > > $CakeEmail->to ( $person['email'] );
> > > $CakeEmail->subject('New File Notification from  ' .
> > > Configure::read('app.name'));
> > > $CakeEmail->template('media_add', 'default');
> > > $CakeEmail->emailFormat('text');
> > > $CakeEmail->send();
> > > [/code]
> > > The code only runs once - verified by checking the logs for the $media
> > > dump - and that template isn't referenced anywhere else   - so it
> > > isn't redierecting off and sending again.
> >
> > > What could it be?  I'm a bit stumped for ideas to debug it
> >
> > > Thanks,
> >
> > > Will
> >
> > > oh, cake2.0 rc1
> 
> --
> 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
> cake-php+unsubscr...@googlegroups.com 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
> cake-php+unsubscr...@googlegroups.com 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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to