How to submit a form directly to an email via the HTM page
Solution Ideas:The key point is to set the form's Action property to "mailto:" +email address.
(method i)Specific steps:1. Set the Action property of the form to receive the email address of the message and set the MIME encoding of the form.
Attention:
The action value of the form must be in the format "mailto: Target email address", which is similar to the email link.
L Enctype (MIME encoding) must be set to "Text/plain" (text), otherwise the received message is garbled. The method property of the form cannot be set to post and must be get (default is not set to get), otherwise the message format does not conform to user input.
(method Two)Specific steps:<a href= "mailto:youname@domain.com?subject=title&cc=name1@domain.com,name2@domain.com&bcc= Bccname@domain.com&body=hello world! " >mailto</a>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.