This seems pretty cool! So I got you thinking after our chat hey?
ok, this is sorta along the correct lines, but I want to have a "Recommend this site to a friend" on the bottom of each page, when they click it, it needs to come up with the form like your code above makes. Is that possible without them having to actually subscribe to the newsletter first?
I see that it goes to a different confirmation page. How does this work, I don't understand how to check the p_thru1 variable, sorry :-)
About the email the friend receives I have some suggestions if you are willing to listen :-)
1) The top text is very small, kinda like a small print. I think most people will skip this and just see the confirmation line, especially as they are not expecting this email. This text should be at the bottom out of the way.
2)However still have the "Jake Birket has signed up for our newsletter and wanted to tell you about us." line in a black normal(not small) size font at the top, and also add on this after us "and our website
http://www.website.com ".
3) Then change the next line to say "If you would like to subscribe to our free newsletter, please click here."
4) Then add some standard blurb about we will not use your email address for any other purpose and you can unsubscribe at any time etc. This is needed because the friend never saw the original newsletter page and thus never saw the reassuring text.
5) Only thing that can't be done without another IGB feature is actually ouput what the newsletter is about because at this point the friend doesn't really have a clue unless they visit the website first. The problem is, the newsletter content will vary from IGB client to client and thus it can't be a standard thing about games and free stuff etc.
What do you think to my suggestions? The sum of it is to really make the "friend" email more attractive and informative to make a sign up more likely, otherwise what's the point in sending it in the first place.
But this referrals thing is a cool idea for sure :-)