Re: How to declare a cakephp email component

2012-01-06 Thread Tilen Majerle
nope, EmailComponent is deprecated, use CakeEmail App::uses('CakeEmail', 'Network/Email'); $email = new CakeEmail; -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/1/6 Daniel > When I try to declare an email component: > $email = new Email(); > ... I get the following error: > > Fatal er

How to declare a cakephp email component

2012-01-06 Thread Daniel
When I try to declare an email component: $email = new Email(); ... I get the following error: Fatal error: Class 'Email' not found in C:\xampp\htdocs\testapp \controllers\users_controller.php on line 72 I tried adding a reference at the top of my controller: var $components = array('Email'); .

Re: CakePHP email component problem

2011-09-11 Thread WebbedIT
duplicate thread: http://groups.google.com/group/cake-php/browse_thread/thread/13a87371c17428e euromark has started supporting this at other thread On Sep 10, 2:47 pm, Piotr Chabros wrote: > Hello, > > in my application there is a part of a code responsible of sending an > emails to my users. It

CakePHP email component problem

2011-09-10 Thread Piotr Chabros
Hello, in my application there is a part of a code responsible of sending an emails to my users. It is a loop cycling through the whole database of users and just sending the email. Also when any email is sent, there is a copy sent to another email addres. The problem is that some of the users rec

Re: CAKEPHP Email component not working in live server.. how to get the error response why that mail is not going

2011-08-29 Thread John Hardy
Can you send an email VIA command line (sendmail or postfix)? On Aug 29, 2011, at 4:42 AM, Gmail Support wrote: > Hi > > Thanx for your response. But my controller has 4 mail functions but none of > the mails are going in Live server only. Still I try to find a solution. > > When a third p

Re: CAKEPHP Email component not working in live server.. how to get the error response why that mail is not going

2011-08-29 Thread Gmail Support
Hi Thanx for your response. But my controller has 4 mail functions but none of the mails are going in Live server only. Still I try to find a solution. When a third party guys hitting our url we are sending mail to users. This is working in my local. But i not used auth component or any authent

Re: CAKEPHP Email component not working in live server.. how to get the error response why that mail is not going

2011-08-22 Thread ShadowCross
If using the EmailComponent works in other parts of your controller, and the "code excerpt" you provided was just manually entered into your original email (the first two lines would have resulted in a syntax error as it is written) you can try adding $this->Email->return = "Mysitename "; befor

Re: CAKEPHP Email component not working in live server.. how to get the error response why that mail is not going

2011-08-22 Thread Gmail Support
no dude... other mail functions from this controller are working fine On Mon, Aug 22, 2011 at 2:05 PM, abhimanyu bv wrote: > maybe you have forgot to configure smtp settings in your cakephp. > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out t

Re: CAKEPHP Email component not working in live server.. how to get the error response why that mail is not going

2011-08-22 Thread abhimanyu bv
maybe you have forgot to configure smtp settings in your cakephp. -- 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

CAKEPHP Email component not working in live server.. how to get the error response why that mail is not going

2011-08-22 Thread CakePHP.Saint
I using cakephp email component. In my live server $this->Email- >send() return success. but mail is not receiving. what is the problem?? i need to find whats the error ? $this->Email->from = Mysitename ; $this->Email->to = sam...@gmail.com $th

Re: cakephp email component

2010-07-19 Thread Jeremy Burns | Class Outfit
It is so hard to help you with questions like this when we don't know what's going wrong. Can you be more specific? Can you paste an error message? Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 19 Jul 2010, at 08:12, fadhli - wrote: > class MessagesContro

cakephp email component

2010-07-19 Thread fadhli -
Message->read(null,$id); $this->Email->to = $message['Client']['email']; $this->Email->bcc = array('fad...@c-artsmag.com'); $this->Email->subject = 'Welcome to our really cool thing'; $this->Email->replyTo = 'supp...@example.com';

Re: including CSS in the emails sent by CakePHP Email component

2009-03-16 Thread amfriedman
There's ways around the grueling task of manually converting CSS styles to inline styles. Try the script I wrote just for the purpose. It automatically converts your CSS to inline styles. http://vivwebsolutions.com/tools/css_to_inline/ On Mar 10, 2:20 pm, brian wrote: > On Tue, Mar 10, 2009 a

Re: including CSS in the emails sent by CakePHP Email component

2009-03-10 Thread brian
On Tue, Mar 10, 2009 at 1:23 PM, K3 wrote: > > hi, > > when i set some css rules in the email layout(used when sending email > with cake's email component) they are not applied on the reciepient > email client. How can i set colors(and other css rules) etc in the > email tepmplate? You would hav

including CSS in the emails sent by CakePHP Email component

2009-03-10 Thread K3
hi, when i set some css rules in the email layout(used when sending email with cake's email component) they are not applied on the reciepient email client. How can i set colors(and other css rules) etc in the email tepmplate? thanks. --~--~-~--~~~---~--~~ You rece

Re: cakephp email component

2008-09-22 Thread base64
rize .." is being produced by one of > > the mail servers charged with delivering your mail message. > > Try using a mail server you have authority to use. > > > > Cheers, > > Predom. > > > > On Sep 22, 3:32 am, base64 <[EMAIL PROTECTED]> wrote: &

Re: cakephp email component

2008-09-22 Thread RichardAtHome
n Sep 22, 3:32 am, base64 <[EMAIL PROTECTED]> wrote: > > > Dear all, > > > I'm using CakePHP Email component,  when i sent email and i set smtp_errors; > > > $this->set('smtp-errors', $this->Email->smtpError); > > > the variable *smtp

Re: cakephp email component

2008-09-22 Thread Predominant
all, > > I'm using CakePHP Email component,  when i sent email and i set smtp_errors; > > $this->set('smtp-errors', $this->Email->smtpError); > > the variable *smtp-errors* return : *220-We do not authorize the use of this > system to transport unsolicit

cakephp email component

2008-09-21 Thread base64
Dear all, I'm using CakePHP Email component, when i sent email and i set smtp_errors; $this->set('smtp-errors', $this->Email->smtpError); the variable *smtp-errors* return : *220-We do not authorize the use of this system to transport unsolicited, *and my email did&#x