Re: Problems with mail

From: Date: Mon, 02 Apr 2007 13:01:17 +0000
Subject: Re: Problems with mail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-251917@lists.php.net to get a copy of this message
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@gmail.com', $subject_users_subscription_confirmation, $message_users_subscription_confirmation); and see what'll happen. -- itoctopus - http://www.itoctopus.com "Mário Gamito" <mgamito@telbit.pt> wrote in message news:4610E105.5040402@telbit.pt... > 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@gmail.com', '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

« previous php.general (#251917) next »