Why don't you use the cakephp builtin component email???? it is nice and
> easy to use
> it 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 = '[email protected]';
> $this->Email->from = 'no-reply<[email protected]>';
> $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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php