Monday, April 2, 2012

Re: Send email Shell Application

euromark  

I could not figure out how to make it work,

Can you help me with an example?

On Sat, Mar 31, 2012 at 6:01 AM, euromark <dereuromark@googlemail.com> wrote:
@LITTO CHACKO:
he wants to use it inside a shell, so he has to use the CakeEmail class (and not the compontent!)

take a look at this question (as he already figured it out pretty good):
the only thing missing is that he should pass some settings to the class (in this case SMTP to send emails via this protocol)
other than that is is fully functional

also note that you should set the domain manually for Emails sent via CLI


Am Freitag, 30. März 2012 20:56:26 UTC+2 schrieb Fernando:
I'm using cake 2.1 and I need to send emails by a Shell Application. I
found no documentation about it. How can I do it?

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php



--
Fernando Andreacci
Biólogo
Fone +55 47 9921 4015
fandreacci@gmail.com

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: