{"id":68,"date":"2005-09-24T14:01:42","date_gmt":"2005-09-24T19:01:42","guid":{"rendered":"http:\/\/www.maxprog.com\/blog\/?p=6"},"modified":"2014-03-01T17:42:34","modified_gmt":"2014-03-01T22:42:34","slug":"subscription-and-unsubscription-handling-thru-regular-e-mails","status":"publish","type":"post","link":"https:\/\/www.maxprog.com\/blog\/subscription-and-unsubscription-handling-thru-regular-e-mails\/","title":{"rendered":"Subscription and unsubscription handling thru regular e-mails"},"content":{"rendered":"<p>You just need to gather all those subscribe and unsubscribe messages to a couple of folders applying some rules and using the scripts we wrote for adding or deleting addresses from a Mac OS X Mail (or Entourage folder). They are called &#8216;Adding recipients from Mac OS X Mail&#8217; and &#8216;Deleting recipients from Mac OS X Mail&#8217; (we also include Entourage and Powermail scripts). Those scripts come with MaxBulk distribution, inside the example\/AppleScript\/Mac OS X Mail import folder and are also accessible from both the import menu and import button. They are very easy to modify if you need to and automatically process a given Mail folder and take the From and Reply-To headers using their contents to add\/remove the addresses from the currently selected MaxBulk list.<\/p>\n<p>Also note that users may have several addresses and sometimes forwards so the e-mail used when replying will not always match the one used for receiving your message. The trick here is to add a <b>[E-mail Address]<\/b> tag to your unsubscribe link this way:<\/p>\n<p><code>mailto:stanley@roche.org?Subject=Unsubscribe&Reply-To=[E-mail Address]<\/code><\/p>\n<p>The [E-mail Address] will be replaced at delivery time with each recipient address so if one of them decides to unsubscribe the Reply-To header will contain the address you originally used. As my script process this header as well you will be 100% sure that you are removing the right addresses. If you don&#8217;t want to use that header just use the subject or the body modifying the script accordingly. An example could be:<\/p>\n<p>If you decide to use the subject:<br \/>\n<code>mailto:stanley@roche.org?Subject=Unsubscribe%20[E-mail Address]<\/code><\/p>\n<p>If you decide to use the body<br \/>\n<code>mailto:stanley@roche.org?Subject=Unsubscribe&Body=Unsubscribe%20[E-mail Address]<\/code><\/p>\n<p>Note that you should never use spaces inside this URL but &#8216;%20&#8217; codes to avoid breaking the link on recipient mail reader. Also the first mailto argument is always preceded with a &#8216;?&#8217; mark and then &#8216;&#038;&#8217; for the others.<\/p>\n<p>Hope this information will help you build a solid subscription system.<\/p>\n<p>The scripts are available <a href=\"https:\/\/www.maxprog.com\/site\/scripts\/index.php\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You just need to gather all those subscribe and unsubscribe messages to a couple of folders applying some rules and using the scripts we wrote for adding or deleting addresses from a Mac OS X Mail (or Entourage folder). They are called &#8216;Adding recipients from Mac OS X Mail&#8217; and &#8216;Deleting recipients from Mac OS X Mail&#8217; (we also include Entourage and Powermail scripts). Those scripts come with MaxBulk distribution, inside the example\/AppleScript\/Mac OS X Mail import folder and are also accessible from both the import menu and import button. They are very easy to modify if you need to &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-68","post","type-post","status-publish","format-standard","hentry","category-maxbulk-mailer"],"_links":{"self":[{"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/posts\/68","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":0,"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.maxprog.com\/blog\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}