/    Sign up×
Community /Pin to ProfileBookmark

Submitting form to e-mail

Help kindly!
I made my own site with a form writing this code:
<FORM dir=”rtl” name=”EXPLAINREQ” method=”post” action=”mailto:[email protected]” target=”_blank” onSubmit=”if(Verifycomp())EXPLAINREQ.submit(); else return false;”>

When someone may submit the form it is expected to go to my e-mail box, but the browser need what is known as: “UniversalSendMail” privilege. So what have I to add to my code for the browser to complete submitting the form to my e-mail box?

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@KorFeb 11.2004 — [b]mailto[/b] will always open the users local installed mail, if he has one. It is not a valid submit action.

The sumbit action requires a CGI, a server-side aplication (php, asp, java, jsp, pearl, C++ and so on) which will get the data, will procees them or store or send them to a mail or whichever is its aim).

To receive a form data on a mail addres you deffinetely need such a server-side application installed somewhere on a server

something like:

action="/folder/mailapp.php"

or

action="/folder/mailapp.asp"

or such kinda stuff


... Ask the webmaster if he has such kind of application, or search this kinda on PHP forum (it is a common server-side language)
Copy linkTweet thisAlerts:
@Lotfi_AbdolhalauthorFeb 12.2004 — Thank you very much indeed kor for your help.

Lotfi
Copy linkTweet thisAlerts:
@Lotfi_AbdolhalauthorFeb 15.2004 — Excuse me Dear fredmv for not refering to FAQs, and accept please my gratitude.

Lotfi MA
×

Success!

Help @Lotfi_Abdolhal 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...