C# Class PostmarkDotNet.PostmarkClientExtensions

Convenience overloads for the core PostmarkClient class.
Afficher le fichier Open project: wildbit/postmark-dotnet

Méthodes publiques

Méthode Description
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.

Method Details

SendMessageAsync() public static méthode

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.
Résultat Task

SendMessagesAsync() public static méthode

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.
Résultat Task>