Skip to content

579b3725 8a45 8ff6 5261 b177aeda6f8f

Fernando Garcia edited this page May 8, 2018 · 1 revision

MailMessageCcModel.Addresses Property

Additional header content

Gets or sets collection of e-mail addresses.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public List<string> Addresses { get; set; }

VB

Public Property Addresses As List(Of String)
	Get
	Set

Property Value

Type: List(String)
Collection of e-mail addresses. Separate each e-mail with a blank.

Remarks

ITEE Object Element Usage

<CC Addresses="string string ..."/>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
A X value indicates that the writer supports this element.

Examples

XML

<Behaviors>
  <Downdload LocalCopy="Yes"/>
  <TransformFile Execute="Yes" Indented="Yes" Save="Yes" Path="~\Output"/>
  <Mail Execute="Yes" Async="Yes" >
    <Server>
      <Credentials>
        <Credential SSL="Yes" 
                    Name="one" 
                    UserName="address@gmail.com" 
                    Password="pwd" 
                    Host="smtp.gmail.com"/>
      </Credentials>
    </Server>
    <Messages>
      <Message Credential="one" Send="Yes">
        <From Address="emailaddress-one@gmail.com"/>
        <To Addresses="emailaddress-two@hotmail.com emailaddress-three@hotmail.com"/>
        <CC Addresses="emailaddress-four@hotmail.com emailaddress-five@hotmail.com"/>
        <Subject>New report</Subject>
        <Body>Hello, this is your report, sending from iTin.Export</Body>
        <Attachments>
          <Attachment Path="C:\Users\somefile.txt"/>
          <Attachment Path="C:\Users\Downloads\Photos Sample.zip"/>
        </Attachments>
      </Message>
    </Messages>
  </Mail>
</Behaviors>

See Also

Reference

MailMessageCcModel Class
iTin.Export.Model Namespace

Clone this wiki locally