I have to send email to user when he/she completes registration.
i have used component in controller like
var $components = array('Email');
i am using function call for sending mail like
$this->sendNewUserMail();
And funcion is as,
function sendNewUserMail(){
$this->Email->to = '[email protected]';
$this->Email->subject = 'Test';
$this->Email->send('Hello Hi MANOJ!');
}
when i perform registration, it completes successfilly but i didn't
get any message at [email protected]
Control reaches successfully at funcion and executes the function but
it not send any mail.
WHY?
Plz give me any solution.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en