/    Sign up×
Community /Pin to ProfileBookmark

Emailing a Form

Using HTML, is it possible to email a form where the email is the form itself, with all entered information intact?

I’ve created an HTML form that will reside on a person’s computer. After entering any/all information, the person clicks a button and the information will be emailed – as an attachment – to the appropriate destination(s).

I’m looking for code that will, upon clicking the same button, email the form itself – with all information – to the appropriate destination(s)…not as an attachment, but as the message itself.

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@khalidali63Jan 02.2003 — <form action="mailto:[email protected]" enctype="plain/text">

this will take care of it

cheers

Khalid
Copy linkTweet thisAlerts:
@jpmoriartyJan 02.2003 — what you'd really like is a script (you can probably get one from matts script archive or your hoster can provide one) that doesnt rely on the users mail program. that's what most people will use as it does it all in the background...
Copy linkTweet thisAlerts:
@jeffmottJan 02.2003 — [i]jpmoriarty[/i]

[b]get one from matts script archive[/b][/quote]


Please do not recommend Matt's scripts. Even Matt no longer recommends his scripts.

Security Focus put MSA FormMail attacks third in their list of the [url=http://www.securityfocus.com/corporate/research/top10attacks_q1_2002.shtml]Top Attacks for the 1st Quarter of 2002[/url].
Copy linkTweet thisAlerts:
@jpmoriartyJan 02.2003 — ooops - i stand corrected then. Why is his page still there then? THat's a rhetorical one - dont give me a barrage of answers. I'll remember that in the future.
Copy linkTweet thisAlerts:
@leonheartJan 04.2003 — To me its not recomended to use

<form action="mailto:[email protected]" enctype="plain/text">

comand to email a form, not that its not secure, sometime it will generate the code in differnet format thats unreadable to email.

i really recommend use of cgi

its more secure and understandable reading of the form information.
Copy linkTweet thisAlerts:
@jeffmottJan 04.2003 — [i]leonheart[/i]

[b]sometime it will generate the code in differnet format thats unreadable to email[/b][/quote]


It really doesn't generate any code at all. It relies on the user's own e-mail client to compose and send the form data.

[i]leonheart[/i]

[b]i really recommend use of cgi

its more secure and understandable reading of the form information[/b]
[/quote]


CGI is the better choice, but is not necessarily more secure. It is only more secure if the form data you submit and the e-mails you send are encrypted.
×

Success!

Help @egoche 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.19,
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,
)...