C# 클래스 PostmarkDotNet.PostmarkClientExtensions

Convenience overloads for the core PostmarkClient class.
파일 보기 프로젝트 열기: wildbit/postmark-dotnet

공개 메소드들

메소드 설명
SendMessageAsync ( this client, string from, string to, string subject, string body, string>.IDictionary headers = null ) : Task

Sends a message through the Postmark API. All email addresses must be valid, and the sender must be a valid sender signature according to Postmark. To obtain a valid sender signature, log in to Postmark and navigate to: http://postmarkapp.com/signatures.

SendMessagesAsync ( this client, IEnumerable messages ) : Task>

Sends a batch of up to messages through the Postmark API. All email addresses must be valid, and the sender must be a valid sender signature according to Postmark. To obtain a valid sender signature, log in to Postmark and navigate to: http://postmarkapp.com/signatures.

메소드 상세

SendMessageAsync() 공개 정적인 메소드

Sends a message through the Postmark API. All email addresses must be valid, and the sender must be a valid sender signature according to Postmark. To obtain a valid sender signature, log in to Postmark and navigate to: http://postmarkapp.com/signatures.
public static SendMessageAsync ( this client, string from, string to, string subject, string body, string>.IDictionary headers = null ) : Task
client this
from string An email address for a sender.
to string An email address for a recipient.
subject string The message subject line.
body string The message body.
headers string>.IDictionary A collection of additional mail headers to send with the message.
리턴 Task

SendMessagesAsync() 공개 정적인 메소드

Sends a batch of up to messages through the Postmark API. All email addresses must be valid, and the sender must be a valid sender signature according to Postmark. To obtain a valid sender signature, log in to Postmark and navigate to: http://postmarkapp.com/signatures.
public static SendMessagesAsync ( this client, IEnumerable messages ) : Task>
client this
messages IEnumerable A prepared message batch.
리턴 Task>