共用方式為


EmailMessage 建構函式

定義

多載

EmailMessage(String, EmailRecipients, EmailContent)

初始化 EmailMessage 的新實例。

EmailMessage(String, String, EmailContent)

初始化 EmailMessage 的新實例。

EmailMessage(String, EmailRecipients, EmailContent)

Source:
EmailMessage.cs

初始化 EmailMessage 的新實例。

public EmailMessage (string senderAddress, Azure.Communication.Email.EmailRecipients recipients, Azure.Communication.Email.EmailContent content);
new Azure.Communication.Email.EmailMessage : string * Azure.Communication.Email.EmailRecipients * Azure.Communication.Email.EmailContent -> Azure.Communication.Email.EmailMessage
Public Sub New (senderAddress As String, recipients As EmailRecipients, content As EmailContent)

參數

senderAddress
String

來自已驗證網域的寄件者電子郵件地址。

recipients
EmailRecipients

電子郵件的收件者。

content
EmailContent

Email要傳送的內容。

例外狀況

senderAddresscontentrecipients 為 null。

適用於

EmailMessage(String, String, EmailContent)

Source:
EmailMessage.cs

初始化 EmailMessage 的新實例。

public EmailMessage (string senderAddress, string recipientAddress, Azure.Communication.Email.EmailContent content);
new Azure.Communication.Email.EmailMessage : string * string * Azure.Communication.Email.EmailContent -> Azure.Communication.Email.EmailMessage
Public Sub New (senderAddress As String, recipientAddress As String, content As EmailContent)

參數

senderAddress
String

來自已驗證網域的寄件者電子郵件地址。

recipientAddress
String

電子郵件的收件者。

content
EmailContent

Email要傳送的內容。

例外狀況

senderAddressrecipientAddresscontent 為 null。

適用於