473,387 Members | 1,440 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
1 3039
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: zsh-users-help | last post by:
Hi! This is the ezmlm program. I'm managing the zsh-users@sunsite.dk mailing list. To confirm that you would like python-list@python.org removed from the zsh-users mailing list, please send...
7
by: Angelos | last post by:
Hello... I wrote a simple subscribe script that when a user completes the subscription form he gets added in the database and then he receives an e-mail where he/she clicks on the follow link : ...
0
by: Nitish Korla | last post by:
unsubscribe ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
7
by: Alex | last post by:
Hi, I just installed pg 7.4.1 on a new system P4, 3.2Gh HT, 1GB Mem, RH9 and discovered that some of the processes have become extremely slow. Mainly I am talking about a SELECT COUNT(*) or...
2
by: Jon Davis | last post by:
The garbage handler in the .NET framework is handy. When objects fall out of scope, they are automatically destroyed, and the programmer doesn't have to worry about deallocating the memory space...
2
by: Joe | last post by:
Hi, I have a newsletter subscribe page. A user enters email address and clicks Subscribe button. That email address is added to database. Say this is a career newsletter. Is it possible to...
12
by: Edmund Dengler | last post by:
Hi folks! A query I am running does not seem to use indexes that are available (running version 7.4.2). I have the following table: => \d replicated Table "public.replicated" Column | ...
2
by: Cox | last post by:
Hello: My address jsmith435@cox.net is subscribed to at least the PHP General mailing list. I have for days now been trying to unsubscribe from all PHP mail lists. I have followed the...
3
by: kashif73 | last post by:
Hi, I have a database of more than 1000 users. I am sending an email to 50 users at a time using CDO. What i do is get all the email addresses first & then split them into a batch of 50 email...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.