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" <[email protected]> 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" <[email protected]> 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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to