how to unsubscribe to mailing list

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!
phillystyle123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jonnygo55Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
anandkpCommented:
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
hartCommented:
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
substandCommented:
i vote for and normally use at work jonnygo55's solution.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.