Solved

how to unsubscribe to mailing list

Posted on 2003-11-06
4
400 Views
Last Modified: 2013-12-24
i'm using cfmail to generate email to a mailing list.  i need to include in the email an option to unsubscribe. no idea what the best, most hassle free direct way to do this is.

please help!
0
Comment
Question by:phillystyle123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Accepted Solution

by:
jonnygo55 earned 75 total points
ID: 9698022
how about just a link at the bottem that directly the user back to a page that will delete them from the table or field that you pull the emails from ih the first place...

<cfmail...
<a href="http://yourdomain.com/delEmail.cfm?delID=#thisEmailAddress#">unsubscribe</a>
...
</cfmail>

and perhaps you would want to add some sort of encrypted variable so someone could not use this page to remove someone else...like
<a href="http://yourdomain.com/delEmail.cfm?delID=#thisEmailAddress#?encID=#encrypt(thisEmailAddress,somekey)#">unsubscribe</a>

and then on the delete page you could decrypt this encID and compare it to the delID...
0
 
LVL 17

Expert Comment

by:anandkp
ID: 9699000
yes the aboce is a pretty neat way of doing it ...

if u have HTML enabled clients - then u cld also use "form" for submitting ur valeus & unsubscribing the user. [use the same logic as give by jonnygo]

U can also have - then snding a blank email to ur site & u can use CFPOP later on to get them deleted from the system.
this way - u know the email address they are sending from - is the one u need to unsubscribe to, leaves no doubts whatsoever ... :)

ur call - use any one which u feel is easy & good for u !

K'Rgds
Anand
0
 
LVL 11

Expert Comment

by:hart
ID: 9699012
or for a more secure way u could ask them to login into ur site and in the site give an
option to unsubscribe... [just give the link to ur site in the mail and ask them to login]

else jonnygo55 is right :-)

Regards
Hart

0
 
LVL 10

Expert Comment

by:substand
ID: 9699319
i vote for and normally use at work jonnygo55's solution.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
What You Need to Know when Searching for a Webhost Provider
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question