« Innovating Through Online Pornography | Main | Google Ad Sense Adds Monetization of Search to Program »

June 17, 2004

Comments

Bart

I mentioned on the other thread that you can enter multiple email addresses in the dialog box separated by semicolons if you want to send to multiple recipients. The other two goals were:

1. Customize the footer to add an "opt-out of my tips" message.
2. Automatically personalize the message with a "Dear [Name]"

For #2 just add that to the body of the message. For #1, you will have to decide how you want to handle that. The most common way to is to give the recipient a link that they can visit to opt out. Below is how the code might look:

javascript:AdR9Ek2H=prompt('Enter Recipient Email Address: (e.g. - guy@domain.com)','');if(AdR9Ek2H){NMwo81Cp=prompt('Enter Name for Bookmark:','');if(NMwo81Cp!=null){with(document){write(('Mail to '+NMwo81Cp).link('javascript:location.href=\'mailto:'+AdR9Ek2H+'?SUBJECT=\'+document.title+\'%20&body=Dear '+NMwo81Cp+ ': \'+escape(location.href)+\' To opt out go here - http://example.com/optout.aspx\';void(0)'));void(close())}}else{void(null)}}else{void(null)}

Peter Caputa

Thanks Bart. I think I'll keep it simple, and just tell people to email me, if they don't want to receive tips from me.

Jonathan Aquino

A couple of other email addresses I like to include: my email-to-Blogger address, and also Usenet groups e.g. mail2news-20040718-alt.test@anon.lcs.mit.edu (for more info, see http://mentalhealth.about.com/library/weekly/aa081197.htm)

The comments to this entry are closed.