共用方式為


SMTP

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

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions and Integration Service Environments (ISEs) except the following:
     -   US Department of Defense (DoD)
Power Automate Standard All Power Automate regions
Power Apps Standard All Power Apps regions
Contact
Name Microsoft
URL Microsoft LogicApps Support
Microsoft Power Automate Support
Microsoft Power Apps Support
Connector Metadata
Publisher Microsoft

Known Issues and Limitations

  • Despite the fact that 25 port is supported and not blocked by SMTP connector for making a connection - it can be blocked on any further network infrastructure level like ISP, local network, hardware etc. due to known security vulnerabilities. Therefore 25 port usage is highly not recommended.

Connector in-depth

For more information about the connector, see the in-depth section.

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Shareable

Default

Applicable: All regions

Parameters for creating connection.

This is shareable connection. If the power app is shared with another user, connection is shared as well. For more information, please see the Connectors overview for canvas apps - Power Apps | Microsoft Docs

Name Type Description Required
SMTP Server Address string SMTP Server Address True
User Name string User Name
Password securestring Password
SMTP Server Port int SMTP Port Number (example: 587)
Enable SSL? bool Enable SSL? (True/False)

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Send Email (V3)

This operation sends an email to one or more recipients.

Send Email [DEPRECATED]

This action has been deprecated. Please use Send Email (V3) instead.

This operation sends an email to one or more recipients.

Send Email [DEPRECATED]

This action has been deprecated. Please use Send Email (V3) instead.

This operation sends an email to one or more recipients.

Send Email (V3)

This operation sends an email to one or more recipients.

Parameters

Name Key Required Type Description
From
From email

Email address of sender like sender@domain.com

To
To email

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

CC
CC email

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

Subject
Subject string

Email subject

Body
Body html

Email body

Bcc
Bcc email

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

Importance
Importance string

Importance of the email (High, Normal, or Low)

Read Receipt
ReadReceipt email

Specify email address for Read receipt

Delivery Receipt
DeliveryReceipt email

Specify email address for Delivery receipt

Content data
ContentData True byte

Content data

Content type
ContentType True string

Content type

File name
FileName string

File name

Content id
ContentId string

Content id

Send Email [DEPRECATED]

This action has been deprecated. Please use Send Email (V3) instead.

This operation sends an email to one or more recipients.

Parameters

Name Key Required Type Description
From
From email

Email address of sender like sender@domain.com

To
To email

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

CC
CC email

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

Subject
Subject string

Email subject

Body
Body string

Email body

Is HTML
IsHtml boolean

Send the email as HTML (true/false)

Bcc
Bcc email

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

Importance
Importance string

Importance of the email (High, Normal, or Low)

Read Receipt
ReadReceipt email

Specify email address for Read receipt

Delivery Receipt
DeliveryReceipt email

Specify email address for Delivery receipt

Content data
ContentData True byte

Content data

Content type
ContentType True string

Content type

File name
FileName string

File name

Content id
ContentId string

Content id

Send Email [DEPRECATED]

This action has been deprecated. Please use Send Email (V3) instead.

This operation sends an email to one or more recipients.

Parameters

Name Key Required Type Description
From
From email

Email address of sender like sender@domain.com

To
To email

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

CC
CC email

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

Subject
Subject string

Email subject

Body
Body string

Email body

Is HTML
IsHtml boolean

Send the email as HTML (true/false)

Bcc
Bcc email

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

Importance
Importance string

Importance of the email (High, Normal, or Low)

Read Receipt
ReadReceipt email

Specify email address for Read receipt

Delivery Receipt
DeliveryReceipt email

Specify email address for Delivery receipt

File name
FileName string

File name

Content id
ContentId string

Content id

Content data
ContentData True string

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

Content type
ContentType True string

Content type

Content Transfer Encoding
ContentTransferEncoding True string

Content Transfer Encoding (base64 or none)

Returns

response
string

Definitions

string

This is the basic data type 'string'.