Name MailAttachment Property:
Gets or sets the attachment file name.
Syntax:
[C++]
HRESULT get_Name(BSTR *pVal);
HRESULT put_Name(BSTR newVal);
[VB]
Property Name As String
Remark:
The Name property
is not checked by MailMill. It is up to you to enter a valid file name.
Example:
[VB]
Dim oMail As New Mail
oMail.Attachments.Add "c:\documentations\mailmill_help.chm"
oMail.Attachments(0).Name = "MailMill Help.chm"
See also: