Self-developed email components and instructions, source files
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Myemail Version 1.0 Usage Instructions
Myemial is an email component I wrote myself, to be honest, to call the 1.0 edition a little ashamed, because some
Features are not yet complete, now the disadvantage is not yet supported HTML format, CC and BCC can only support one message
Address, but I will complete these functions in a day or two.
This component includes the following properties and methods:
MailServer: Your mail server, can also be IP form.
BCC: Secret Send
Subject: Message headers
Body: Message Content
Attachment: Attachment (currently only one attachment can be sent)
ishtml: HTML format (not currently supported)
Errtext: Cause of the error
Send (): Sending mail
Here is an example of using this component in ASP.
Set m_objmail = Server. CreateObject ("Myemail.email")
M_objmail.mailserver = "Server1.domain" M_objmail.from = "Lyp@domain"
m_objmail.to = "Lyp@domain"
M_objmail.subject = "Hello, just test my own email com"
M_objmail.body = "Just a text"
M_objmail.attachment = "D:/bizen/getcategory.sql"
m_objmail.cc = "Lyp@domain"
M_OBJMAIL.BCC = "Lyp@domain"
If M_objmail.ifsuccess Then
Response.Write "Send success!" "
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.