spillage Posted April 17, 2008 Share Posted April 17, 2008 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 More sharing options...
jonsjava Posted April 17, 2008 Share Posted April 17, 2008 the short answer: Yes, you can do it, if I understand you correctly. Link to comment https://forums.phpfreaks.com/topic/101626-recommend-a-friend-link/#findComment-519978 Share on other sites More sharing options...
jonsjava Posted April 17, 2008 Share Posted April 17, 2008 it would be using GET values, FYI. if you need a place to bone up on it, let me know. Link to comment https://forums.phpfreaks.com/topic/101626-recommend-a-friend-link/#findComment-519982 Share on other sites More sharing options...
spillage Posted April 18, 2008 Author Share Posted April 18, 2008 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 Link to comment https://forums.phpfreaks.com/topic/101626-recommend-a-friend-link/#findComment-520117 Share on other sites More sharing options...
blueman378 Posted April 18, 2008 Share Posted April 18, 2008 some quick things i need to know and i will make you a rough code, where are you pulling the email id from? same as the customer email? are these databases? and how are they linked to each other? Link to comment https://forums.phpfreaks.com/topic/101626-recommend-a-friend-link/#findComment-520126 Share on other sites More sharing options...
spillage Posted April 18, 2008 Author Share Posted April 18, 2008 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 Link to comment https://forums.phpfreaks.com/topic/101626-recommend-a-friend-link/#findComment-520164 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.