/    Sign up×
Community /Pin to ProfileBookmark

Generating an email from form data

Hi there

I’ve been asked to introduce a ‘recommend a friend’ scheme on our website.

We would like to have a form hosted on our site where customers can fill in their friend’s details and a personal message and submit the form to send them an email. The email the friend receives should look like it’s come from the customer.

Is it possible to use some kind of script to tell the form to submit to the friend’s email address instead of ours? ?

Thanks in advance

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@andy21aaNov 21.2008 — In an infinite universe anything is possible. You'll need to write a script / application to process the form on the server, probably best to ask the PHP / .NET people about that.
Copy linkTweet thisAlerts:
@felgallNov 21.2008 — The only language where it is not possible to do what you want is JavaScript.
×

Success!

Help @caravanguard spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...