Skip to content

07f3ff53 fd48 9117 f27e 87e1878b6ff7

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

MailMessageModel.CC Property

Additional header content

Gets or sets address collection that contains the carbon copy (CC) recipients for this e-mail message.

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 MailMessageCcModel CC { get; set; }

VB

Public Property CC As MailMessageCcModel
	Get
	Set

Property Value

Type: MailMessageCcModel
The address collection that contains the carbon copy (CC) recipients for this e-mail message.

Remarks

ITEE Object Element Usage

<Message ...>
  <CC/>
  ...
</Message>

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="[email protected]" 
                    Password="pwd" 
                    Host="smtp.gmail.com"/>
      </Credentials>
    </Server>
    <Messages>
      <Message Credential="one" Send="Yes">
        <From Address="[email protected]"/>
        <To Addresses="[email protected] [email protected]"/>
        <CC Addresses="[email protected] [email protected]"/>
        <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

MailMessageModel Class
iTin.Export.Model Namespace

Clone this wiki locally