/    Sign up×
Community /Pin to ProfileBookmark

email send options on website,

how can i make an email send option on the website where a person will put his own email id and enter his friends email id, and then from his own email he send his friend an email.

like most sites says, enter your email and your friends email…..
how to make that, thanks,

to post a comment
HTML

8 Comments(s)

Copy linkTweet thisAlerts:
@ray326Dec 26.2006 — The HTML is just a form with a couple of text inputs and a text area for the body if that's needed. The email work is done on the server by the handler behind the form action.
Copy linkTweet thisAlerts:
@harmu_comauthorDec 28.2006 — can you give the html for that, the form, thanks,
Copy linkTweet thisAlerts:
@ray326Dec 28.2006 — In abbreviated (aka invalid) form.

<form action="formhandler">

My email: <input type="text" name="email1"><br>

Their email: <input type="text" name="email2"><br>

Message:<br>

<textarea name="message" rows="25" cols="80"></textarea>

<input type="submit" name="sendbutton" value="Send">

</form>
Copy linkTweet thisAlerts:
@grumpyoldtechsDec 28.2006 — you need to use a serverside language. php, perl, asp.net etc...

most apache servers have form-mail already installed in the cgi-bin.

remember HTML does nothing!
Copy linkTweet thisAlerts:
@harmu_comauthorDec 31.2006 — well, what php server side application you are talking about? can you explain that a bit........thanks........... ?
Copy linkTweet thisAlerts:
@grumpyoldtechsDec 31.2006 — this page pretty much explains it better than i could:

http://uk.php.net/function.mail
Copy linkTweet thisAlerts:
@harmu_comauthorJan 09.2007 — In abbreviated (aka invalid) form.

<form action="formhandler">

My email: <input type="text" name="email1"><br>

Their email: <input type="text" name="email2"><br>

Message:<br>

<textarea name="message" rows="25" cols="80"></textarea>

<input type="submit" name="sendbutton" value="Send">

</form>[/QUOTE]



will this form work in blogger........... ? ?
Copy linkTweet thisAlerts:
@ray326Jan 09.2007 — I have no idea but Blogger doesn't have an appropriate form handler AFAIK.
×

Success!

Help @harmu_com 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.29,
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,
)...