Hi
By default, it'll simply use the mail() php function (see the email
component sourcecode).
You should first try to use "mail()" without Cake, to see if it's a
Cake issue or not (I think it's not). If your mail never arrives, then
your problem is likely with your server setup, not with Cake.
If so, it can be an issue with your php configuration (see:
http://fr.php.net/manual/en/mail.configuration.php), or with your
sendmail configuration, and lots of other things...
+++++++++
Clément
On Sun, Aug 24, 2008 at 11:38 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---