MailMill COM 1.0 Documentation

ReplyTo Mail Property:
Returns a reference to a MailArray object that contains email addresses to reply the message to.
Syntax:
[C++]
HRESULT ReplyTo(IMailArray **ppVal);
[VB]
Property ReplyTo As MailArray
Remark:
The ReplyTo array contains the list of email addresses that will be set in the Reply-To message header field. Use the Add method to append an email address to the ReplyTo array. Use the Value property get or set a list of comma separated named addresses.
Setting this field is required if you want the recipient to reply to one or more address(es) that is (are) different from the From address. Note that Delivery Status Messages (DSN) will be returned to the From address and not to the Reply-To address(es).
It is not recommended to set the ReplyTo property to the same address as the From property.
Example:
[VB]
Dim oMail As New Mail
oMail.From = "Marcus <marcus@emilltest.com>"
oMail.ReplyTo.Value = "Developers <developers@emilltest.com>"
See also:
MailMill Component | Mail Object | From

 

Copyright © Active+ Software 2005 - All rights reserved