Send e-mail from a form (only HTML, javascript)

2019-04-28 19:38发布

Send e-mail from a form, here is the the link to basic HTML code: W3 Schools

After writing a comment, name and email and clicking Send button the Outlook Express starts- is it possible to send message immediately (using only HTML, maybe javascript)?

Or maybe is there something that can be done so that the Outlook Express doesnt ask again to submit a name and email?

Regards

2条回答
ゆ 、 Hurt°
2楼-- · 2019-04-28 19:59

Bad idea, that relies on the client having an adequate mail client installed on their computer. What that does is uses their email address to send an email to the email address you specified. It completely relies on the client and has absolutely NOTHING to do with your server. There's nothing you can do on your page to speed up the process.

查看更多
来,给爷笑一个
3楼-- · 2019-04-28 20:06

no, not in pure Javascript. Sending email requires server-side processing.

There are several website sthat will let you generate simple email forms, check out: http://www.google.com/search?hl=en&safe=off&q=email+form+generator&aq=5&aqi=g10&aql=&oq=email+form

查看更多
登录 后发表回答