EmailMessage 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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要傳送的內容。
例外狀況
senderAddress
、content
或 recipients
為 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要傳送的內容。
例外狀況
senderAddress
、recipientAddress
或 content
為 null。