Re: Problems with mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Weird, this code should work. Are you sure there is no hidden space
somewhere in the email. Try just to hardcode the email (eg.
mail('gamito@xxxxxxxxx', $subject_users_subscription_confirmation,
$message_users_subscription_confirmation); and see what'll happen.

--
itoctopus - http://www.itoctopus.com
"Mário Gamito" <mgamito@xxxxxxxxx> wrote in message
news:4610E105.5040402@xxxxxxxxxxxx
> Hi,
>
> I have this very straight forward code to send an e-mail:
>
> $subject_users_subscription_confirmation = "Subscription confirmation";
> $message_users_subscription_confirmation = 'Please, click this link to
> confirm your subscritpion:
> http://www.telbit.pt/subscribe-confirm.php?email=' . $email . '&conf=' .
> $barfles;
>
> mail($email, $subject_users_subscription_confirmation,
> $message_users_subscription_confirmation);
>
> The three variables are ok, as i debuged them with prints, but no mail
> is sent.
>
> If i do a test with
>
> mail('gamito@xxxxxxxxx', 'Hello', 'Hello');
>
> then the mail is sent ok!
>
> I'm driving nuts here.
>
> Can someone give me a hand on this, please ?
>
> Warm Regards
> --
> :wq! Mário Gamito

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux