Mário Gamito wrote:
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('[EMAIL PROTECTED]', 'Hello', 'Hello');
then the mail is sent ok!
So mail() works, which means you're doing something wrong or your host
is blocking the email or spam filters are catching it.
If you're on a test machine, watch the mail logs and see if that gives
you any clues about what's going on.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php