MailMill COM 1.0 Documentation

Attachments Mail Property:
Returns a reference MailArray object that contains the MailAttachment objects.
Syntax:
[C++]
HRESULT get_Attachments(IMailArray **ppVal);
[VB]
Property Attachments As MailArray
Remark:
To add a new item to the Attachments array, create a new MailAttachment object, set the MailAttachment object properties and pass this object to the Add method. Pass a file name string to the Add method to create a new MailAttachment object, load it from the file specified in the string, and add it to the Attachments array in one step. The Value property is not supported.
Example:
[VB]
Dim oMail As New Mail
oMail.Attachments.Add "c:\documentation\product_specs.pdf"
See also:
MailMill Component | Mail Object

 

Copyright © Active+ Software 2005 - All rights reserved