Hi, there

I have the following code to send a very simple email,

$this->Email->to = '[EMAIL PROTECTED]';
$this->Email->subject = 'Welcome to our website';
$success = $this->Email->send('Welcome to our website. Please login
using the following link');

if ($success)
{
        $this->Session->setFlash('Information: email was sent.',null);
}
else
{
        $this->Session->setFlash('Information: Failed to send
email.',null);
}

well, function send return true in this case. Does that mean it
already sent the email? Why didn't I see the email in my gmail
account?

I didn't add/create any mail system on my linux system. The only thing
I can ensure is my compute is access to internet.

Cakephp version: 1.2RC

I'd appreciate your help very much.

Thanks,
Bo

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to