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

蹲街弑〆低调 提交于 2020-01-13 09:43:35

问题


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


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/2376370/send-e-mail-from-a-form-only-html-javascript

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!