Connectors Reference

SMTP

SMTP (Simple Mail Transfer Protocol) is an internet standard for email supported by most email processing servers. Connect to SMTP to send email.

 

Status: Production

Tier: Standard

Version: 1.0

 

Actions:

Name

Summary

SendEmail (Email emailMessage)

Send Email

SendEmailV2 (EmailV2 emailMessage)

Send Email

TestConnection ()

Test connection

 

Triggers:

Name

Summary

 

Objects:

Name

Summary

Attachment

 

AttachmentV2

 

Email

 

EmailV2

 

 

Actions:

SendEmail

Summary: Send Email

Description: This operation sends an email to one or more recipients.

 

Syntax:

SMTP.SendEmail (Email emailMessage)

 

Parameters:

Name

Type

Summary

Required

Related Action

emailMessage

Email

 

SMTP Email

True

 

Returns:

          Type:string

 

SendEmailV2

Summary: Send Email

Description: This operation sends an email to one or more recipients.

 

Syntax:

SMTP.SendEmailV2 (EmailV2 emailMessage)

 

Parameters:

Name

Type

Summary

Required

Related Action

emailMessage

EmailV2

 

SMTP email (v2)

True

 

Returns:

          Type:string

 

TestConnection

Summary: Test connection

Description: Test connection.

 

Syntax:

SMTP.TestConnection ()

 

Returns:

 


 

Attachment

Summary:

Description: Email attachment

 

          Properties:

Name

Type

Summary

FileName

string

File name

File name

ContentId

string

Content id

Content id

ContentData

string

Content data

Content data (base64 encoded for streams and as-is for string)

ContentType

string

Content type

Content type

ContentTransferEncoding

string

Content Transfer Encoding

Content Transfer Encoding (base64 or none)


 

AttachmentV2

Summary:

Description: Email attachment (V2)

 

          Properties:

Name

Type

Summary

ContentData

string(byte)

Content data

Content data

ContentType

string

Content type

Content type

FileName

string

File name

File name

ContentId

string

Content id

Content id


 

Email

Summary:

Description: SMTP Email

 

          Properties:

Name

Type

Summary

From

string(email)

From

Email address of sender like sender@domain.com

To

string(email)

To

Specify email addresses separated by semicolons like recipient1@domain.com;recipient2@domain.com

CC

string(email)

CC

Specify email addresses separated by semicolons like recipient1@domain.com;recipient2@domain.com

Subject

string

Subject

Email subject

Body

string

Body

Email body

IsHtml

boolean

Is HTML

Send the email as HTML (true/false)

Bcc

string(email)

Bcc

Specify email addresses separated by semicolons like recipient1@domain.com;recipient2@domain.com.

Importance

string

Importance

Importance of the email (High, Normal, or Low)  Values: [Normal, Low, High]

Attachments

array of (Attachment)

Attachments

Attachments to be sent along with the email


 

EmailV2

Summary:

Description: SMTP email (v2)

 

          Properties:

Name

Type

Summary

From

string(email)

From

Email address of sender like sender@domain.com

To

string(email)

To

Specify email addresses separated by semicolons like recipient1@domain.com;recipient2@domain.com

CC

string(email)

CC

Specify email addresses separated by semicolons like recipient1@domain.com;recipient2@domain.com

Subject

string

Subject

Email subject

Body

string

Body

Email body

IsHtml

boolean

Is HTML

Send the email as HTML (true/false)

Bcc

string(email)

Bcc

Specify email addresses separated by semicolons like recipient1@domain.com;recipient2@domain.com.

Importance

string

Importance

Importance of the email (High, Normal, or Low)  Values: [Normal, Low, High]

Attachments

array of (AttachmentV2)

Attachments

Attachments to be sent along with the email