Jump to content

recommend a friend link


spillage

Recommended Posts

I am very new to php and even html (talking weeks rather than months).

But am interseted in how to individually seperate a recommend a friend link

from a mail campaign. I would like to be able to send a copy email to the

recommended friend.I am thinking of creating individual .php files for each email

although this would mean allot of .php files. I would ideally like a text box to be

filled with the friends email and also pull the original email address with the id of the

email so I would end up with

 

customer email= [email protected]

friends [email protected]

email id=004

 

is this possible.

really not asking for any code although a rough pointer would be nice. But really

am after a Yes it can be done or OMG you are new to this and your barking up the

wrong tree.

Link to comment
https://forums.phpfreaks.com/topic/101626-recommend-a-friend-link/
Share on other sites

Many thanks for the reply. I just wasnt to sure as the book I am teaching myself from doesn't really cover this and is more of order/feeback type setup.

I was thinking of a simple 2 field form with my email, friends email but not sure how to  pull the message header from the email or maybe even the to address aswell to $_post on.

If you know of anywhere I can see some examples that would be a real help.

 

 

Cheers,

 

Spill

 

Youll have to cut me a litlle slack this morning as have a slight hangover.

 

The email id is the one thats causing problems. I would ideally like to be able to pull the customers email and subject from the orignal email.

When the link in the email is clicked I can then post this info into my php form, prefill the customers email address add the email subject line for an id and allow them to input their friends email. This could be changed to allow the customer to input their own email address but pulling it from the original email would narrow down the chances of mistakes been made.

 

I'm sure that I will store all this info into a database as either a flat file or punting into an email would probally become swamped depending on the amount of results. I can then also dedupe emails from this database against our main customer database as these friends become customers.

 

Hope this is enough info.

 

Cheers

 

Spill

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.