467,075 Members | 1,067 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,075 developers. It's quick & easy.

Unsubscribe script

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?
--
Teaching OnLine
Corsi online di programmazione
Php, Asp, C, C++, Visual Basic, Delphi
Linux Shell Programming
------------------------------------
http://www.teachingonline.it

May 7 '06 #1
  • viewed: 2715
Share:
1 Reply
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.
js*******@attglobal.net
==================
May 7 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by zsh-users-help@sunsite.dk | last post: by
7 posts views Thread by Angelos | last post: by
reply views Thread by Nitish Korla | last post: by
7 posts views Thread by Alex | last post: by
2 posts views Thread by Jon Davis | last post: by
12 posts views Thread by Edmund Dengler | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.