-
tell-a-friend
how can i do a tell-a-friend form, like 100 X 300 pixels, just email field of friend and name of refferer or email of refferer and submit button.
im familiar with php.
so the person who receive the mail get a pre-written message like Your friend XXXX wants you to visit this site.
and i would like to receive a copy of this to my email.
-
Take a look at the mail form examples at http://koolexchange.com
-
this is not what i am looking form. What you told me to look are simple forms that send e-mail to a unique e-mail adress.
i want a form where someone enter a person e-mail and when you click send, it send the e-mail to THAT adress.
the form you made me look is a form to poeple contact YOU on your website.
i want poeple to come on MY website and send a mail to their FRIENDS from MY website, without them going in their mailing program, but doing it directly from MY website.
-
only PHP will do that. use mail() function - if your server allows it. Otherwise use phpmailer class.
-
i found an html,php & javasciprt code that worked hot doing a tiny 350 by 200 pop-up and i could match with colors of my website.
real nice.
i also receive information about who reffered who emails n everything.
puuurfect.
thx anyway
-
-
Those form mailers are exactly what you want. Granted they need to be adjusted a bit for your needs but the method is the very thing you want. Just change it so that it sends the mail to the email in your variable that you send.
In my example the user supplys name email and message. well then change the label on the form (would hope you would customize it anyway). You have three variables sent to the PHP so just adjust the code to suit. I'm pretty sure mine is pretty well documented with comments. Give it a go and come back if you have any problems converting it.