|
Posted by Jerry Stuckle on 05/07/06 23:35
Lampa Dario wrote:
> I'd like to create a little script to allow users to remove from
> mailing list.
> I use the folowing code
>
> $remove_msg='Lei riceve questo messaggio poiché si è iscritto alla
> newsletter. Potrà revocarla in ogni momento. Per non ricevere la nostra
> Newsletter, clicchi qui:'; $urlmail='<a
> href="http://www.mysite.com/Mailing/unsubscribe.php?email=';
> $urlmail.=$toaddress.'">http://www.mysite.com/Mailing/unsubscribe.php?email='.$toaddress.'</a>';
> $message.=$rimozione."\n".$urlmail;
>
> such code add to the messages I send users the instructions to remove
> themselves from the mailing list. When the user receives the
> message, there is the correct link to the script, followed by his
> email address. But in the status bar of the browser the email address
> is not present, and infact, ib the unsubscribe.php script, the variable
> email is empty.
>
> What's the mistake?
Have you tried printing out the string you send in the email to see what it
looks like? And are you trying to send this email as html? If so, do you have
your headers set up properly?
It's really hard to tell what the problem is from just a few lines of code. It
could be a lot of different things.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|