This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes unsubscribing from mailing-list- design pattern? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "unsubscribing from mailing-list- design pattern?" Watch "unsubscribing from mailing-list- design pattern?" New topic
Author

unsubscribing from mailing-list- design pattern?

Phani Kumar R
Greenhorn

Joined: Dec 09, 2010
Posts: 24
Hi,

- Here is the issue: We send notification alerts [emails] to the User. I need to implement "Unsubscribe here" link which should be included in the
e-mail.

I have 2 solutions at the moment with their own problems.

1) Using the concept - reply to unsubscribe-xyz@abc.com with the subject 'unsubscribe me'. (something similar to Apache user mailing lists).
problem: As per my understanding, this one takes much more time, needs to create an official email-id, querying the inbox, etc.

2) We create an ID/hashvalue and include it in the URL whenever we send an email to the user. When he clicks on it, we recognize other credentials and complete the operation.
problem: I feel its a dumb way to create and populate the ID into the database every-time we send an e-mail.

Let me know if my calculations were wrong. Please share if any other probable way exists.

BTW, I am sorry if this is completely an irrelevant section to post this query.

Thanks.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: unsubscribing from mailing-list- design pattern?
 
Similar Threads
Congrats Theodore
WebSphere Application Server Support Bulletin, Issue 18
SCJP exam fee
How to send Email
Bouncing mails & Java Mail API