By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,912 Members | 1,978 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,912 IT Pros & Developers. It's quick & easy.

PHP form/script for executing email "send to a friend" forwarding

P: 1

I am building email marketing framework, my email templates go out to clients and I wish to include a "send to a friend" or "forward to a friend" link in the outbound email.

I want to track the numbers that take this option, which is no problem, I would just like some guidance on the php mail component of the scripting as I can grab code snippets for the web landing page form.

Any guidance appreciated.
Oct 7 '09 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,168
Hi Simon, welcome to Bytes.
I am not aware of anyway to track who is forwarding etc as this is controlled by the email client which you don't have access to. The best way that I can think of is to have a link in the email which will direct them to your site and then they can forward it from there. Now obviously that does not seem very attractive when the email clients have a nice little forward button along with their attached address book, but you cannot force an email client to give you information like "forwarded to".

Another way which is again not ideal, is to have a link on the email that says, if you have been referred this email click here, or if you do not have an account, or something like that to attract forwardee's to go to your link.

Not sure if that helps, but your control over the email once it is out of your servers hand is next to none... otherwise it is a virus ;)
Oct 8 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.