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: 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 danwgr...@gmail.com When I try to declare an email component: $email = new Email(); ... I get the following

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 pchabros.p...@gmail.com wrote: Hello, in my application there is a part of a code responsible of sending an

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

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

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 party

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

2011-08-23 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

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 no-re...@mysite.com; $this-Email-to = sam...@gmail.com

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

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 vmabhi...@gmail.com wrote: maybe you have forgot to configure smtp settings in your cakephp. -- Our newest site for the community: CakePHP Video Tutorials

Re: cakephp email component

2010-07-20 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: ?php class

cakephp email component

2010-07-19 Thread fadhli -
?php class MessagesController extends AppController { var $name = 'Messages'; var $components = array('Email'); function _sendNewMessage($id) { $message = $this-Message-read(null,$id); $this-Email-to = $message['Client']['email'];

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 bally.z...@gmail.com wrote: On

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

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 kiril.zvezdako...@gmail.com 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

Re: cakephp email component

2008-09-23 Thread base64
message. Try using a mail server you have authority to use. Cheers, Predom. On 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

Re: cakephp email component

2008-09-22 Thread Predominant
to send email using CakePHP email component?. I had follow this instruction step by step : *http://book.cakephp.org/view/176/Email* Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: cakephp email component

2008-09-22 Thread RichardAtHome
, 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'not sent.* *how to solved

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'not sent.* *how to solved