Why don't you use the cakephp builtin component email???? it is nice and easy to useit can be include by:_public $components = array('Session','Email');and can be used to send email by:_$pass = array('fullname'=>$name,'password'=>$p,'url'=>$url,'reference'=>$reference,'email'=>$email);$this->set('emailValues',$pass);$this->Email->to = $email;$this->Email->subject = 'Welcome Mail fromjustdeals.com';$this->Email->replyTo = 'no-reply@image.com';$this->Email->template = 'account_created';$this->Email->sendAs = 'html';$this->Email->send();you have a corresponding account_created.ctp(as in example) file in the folder views_>emails->html->...thanks ;
Litto Chacko
Axtec Softwares
--
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:
Post a Comment