CDONTS. NewMail members (methods, properties ...) ）
Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Sub Attachfile (ByVal Source, [ByVal FileName], [ByVal Encodingmethod])
Attaches a file to the mail
Sub Attachurl (ByVal Source, ByVal contentlocation, [ByVal contentbase], [ByVal Encodingmethod])
URL Address Attachment
Attaches a file or data as a URL
Property BCC as String
Blind carbon Copy
Comma separated list of BCC recipients
Property Body as Variant
Text or HTML-formatted message body
Text or HTML formatted mail body
Property BodyFormat as Long
Message physical type
Property Cc as String
Comma separated list of Cc recipients
Property Contentbase as String
The root address of the URL attachment
Base URL to the "body in Mail" with URL attachments
Property Contentlocation as String
The content address of the URL attachment
URL to the "body in Mail" with URL attachments
Property from as String
From (Reply to address)
From Address for mail
Property importance as Long
Emergency level (low, normal, emergency)
Mail importance, low, normal, or high
Property MailFormat as Long
Sub Send ([ByVal from], [ByVal to], [ByVal Subject], [ByVal body], [ByVal importance])
Sends the mail
Sub Setlocaleids (ByVal Codepageid as Long)
Set Area ID Code
The Setlocaleids method sets the Codepage ID to the new message.
Property Subject as String
property to as String
Comma separated list of to recipients
Property Value (ByVal Bstrheader As String) as String
Mail header file
Arbitrary mail Header Value
Property Version as String
Version number of the component that sent the message
The Version property returns the version number of the collaboration Data Objects Library.
I know, my translation of the lame, but no way, who call me E-wen so?
Do rookie of course not reconciled, do prawns and there are too many imperfections (what is not perfect?) It's a moron! It doesn't matter, you are imbecile, the earth people all know! ）。 Eh No way, had to make a shrimp without tail!
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.