Solved

how to unsubscribe to mailing list

Posted on 2003-11-06
4
407 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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

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…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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