C# 클래스 PostmarkDotNet.PostmarkClient

파일 보기 프로젝트 열기: wildbit/postmark-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
ActivateBounce ( string bounceId ) : PostmarkBounceActivation

Activates a deactivated bounce.

GetBounce ( string bounceId ) : PostmarkBounce

Retrieves a single PostmarkBounce based on a specified ID.

GetBounceDump ( string bounceId ) : PostmarkBounceDump

Returns the raw source of the bounce we accepted. If Postmark does not have a dump for that bounce, it will return an empty string.

GetBounceTags ( ) : IEnumerable

Returns a list of tags used for the current server.

GetBounces ( PostmarkBounceType type, bool inactive, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( PostmarkBounceType type, bool inactive, string emailFilter, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( PostmarkBounceType type, bool inactive, string emailFilter, string tag, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( PostmarkBounceType type, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( PostmarkBounceType type, string emailFilter, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( PostmarkBounceType type, string emailFilter, string tag, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( bool inactive, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( bool inactive, string emailFilter, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( bool inactive, string emailFilter, string tag, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( string emailFilter, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetBounces ( string emailFilter, string tag, int offset, int count ) : PostmarkBounces

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.

GetDeliveryStats ( ) : PostmarkDeliveryStats

Retrieves the bounce-related PostmarkDeliveryStats results for the associated mail server.

GetInboundMessageDetail ( string messageID ) : InboundMessageDetail

Get the full details of a processed inbound message including all fields, attachment names, etc.

GetInboundMessages ( int count, int offset ) : PostmarkInboundMessageList

Return a listing of Inbound sent messages using the filters supported by the API.

GetInboundMessages ( string fromemail, int count, int offset ) : PostmarkInboundMessageList

Return a listing of Inbound sent messages using the filters supported by the API.

GetInboundMessages ( string fromemail, string subject, int count, int offset ) : PostmarkInboundMessageList

Return a listing of Inbound sent messages using the filters supported by the API.

GetInboundMessages ( string recipient, string fromemail, string subject, int count, int offset ) : PostmarkInboundMessageList

Return a listing of Inbound sent messages using the filters supported by the API.

GetInboundMessages ( string recipient, string fromemail, string subject, string mailboxhash, int count, int offset ) : PostmarkInboundMessageList

Return a listing of Inbound sent messages using the filters supported by the API.

GetOutboundMessageDetail ( string messageID ) : OutboundMessageDetail

Get the full details of a sent message including all fields, raw body, attachment names, etc

GetOutboundMessageDump ( string messageID ) : MessageDump

Get the original raw message dump of on outbound message including all SMTP headers and data.

GetOutboundMessages ( int count, int offset ) : PostmarkOutboundMessageList

Return a listing of Outbound sent messages using the filters supported by the API.

GetOutboundMessages ( int count, int offset, string recipient ) : PostmarkOutboundMessageList

Return a listing of Outbound sent messages using the filters supported by the API.

GetOutboundMessages ( int count, string subject, int offset ) : PostmarkOutboundMessageList

Return a listing of Outbound sent messages using the filters supported by the API.

GetOutboundMessages ( string subject, int count, int offset ) : PostmarkOutboundMessageList

Return a listing of Outbound sent messages using the filters supported by the API.

GetOutboundMessages ( string recipient, string fromemail, int count, int offset ) : PostmarkOutboundMessageList

Return a listing of Outbound sent messages using the filters supported by the API.

GetOutboundMessages ( string fromemail, string tag, string subject, int count, int offset ) : PostmarkOutboundMessageList

Return a listing of Outbound sent messages using the filters supported by the API.

GetOutboundMessages ( string recipient, string fromemail, string tag, string subject, int count, int offset ) : PostmarkOutboundMessageList

Return a listing of Outbound sent messages using the filters supported by the API.

PostmarkClient ( string serverToken ) : System.Collections.Specialized

Initializes a new instance of the PostmarkClient class. If you do not have a server token you can request one by signing up to use Postmark: http://postmarkapp.com.

PostmarkClient ( string serverToken, bool noSSL ) : System.Collections.Specialized

Initializes a new instance of the PostmarkClient class. If you do not have a server token you can request one by signing up to use Postmark: http://postmarkapp.com. Extra signature to override https

PostmarkClient ( string serverToken, int timeout ) : System.Collections.Specialized

Initializes a new instance of the PostmarkClient class. If you do not have a server token you can request one by signing up to use Postmark: http://postmarkapp.com.

SendMessage ( PostmarkMessage message ) : PostmarkResponse

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.

SendMessage ( TemplatedPostmarkMessage message ) : PostmarkResponse

Send an email using a template associated with your Server.

SendMessage ( string from, string to, string subject, string body ) : PostmarkResponse

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.

SendMessage ( string from, string to, string subject, string body, NameValueCollection headers ) : PostmarkResponse

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.

SendMessage ( PostmarkMessage message, Action callback ) : void

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.

SendMessage ( string from, string to, string subject, string body, Action callback ) : void

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.

SendMessage ( string from, string to, string subject, string body, NameValueCollection headers, Action callback ) : void

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.

SendMessages ( ) : IEnumerable

Sends a batch of 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.

SendMessages ( IEnumerable messages ) : IEnumerable

Sends a batch of 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.

SendMessages ( IEnumerable messages, Action callback ) : void

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.

비공개 메소드들

메소드 설명
BeginGetPostmarkResponse ( Hammock.RestRequest request, Action callback ) : void
BeginGetPostmarkResponses ( Hammock.RestRequest request, Action callback ) : void
CleanPostmarkMessage ( PostmarkMessage message ) : void
GetBouncesImpl ( PostmarkBounceType type, bool inactive, string emailFilter, string tag, int offset, int count ) : PostmarkBounces
GetInboundMessagesImpl ( string recipient, string fromemail, string subject, string mailboxhash, int count, int offset ) : PostmarkInboundMessageList

Implementation to get Inbound messages for the public search APIs

GetOutboundMessagesImpl ( string recipient, string fromemail, string tag, string subject, int count, int offset ) : PostmarkOutboundMessageList

Implementation called to do the actual messages call and return a PostmarkOutboundMessageList

GetPostmarkResponse ( Hammock.RestRequest request ) : PostmarkResponse
GetPostmarkResponseImpl ( Hammock.RestResponseBase response ) : PostmarkResponse
GetPostmarkResponses ( Hammock.RestRequest request ) : IEnumerable
GetPostmarkResponsesImpl ( Hammock.RestResponseBase response ) : IEnumerable
NewBatchedEmailRequest ( ) : Hammock.RestRequest
NewBouncesRequest ( ) : Hammock.RestRequest
NewEmailRequest ( ) : Hammock.RestRequest
NewMessagesRequest ( ) : Hammock.RestRequest
NewTemplatedEmailRequest ( ) : Hammock.RestRequest
PostmarkClient ( ) : System.Collections.Specialized
SetPostmarkMeta ( Hammock.RestBase request ) : void
TryGetPostmarkResponse ( Hammock.RestResponseBase response ) : PostmarkResponse
TryGetPostmarkResponses ( Hammock.RestResponseBase response ) : IEnumerable

메소드 상세

ActivateBounce() 공개 메소드

Activates a deactivated bounce.
public ActivateBounce ( string bounceId ) : PostmarkBounceActivation
bounceId string The bounce ID
리턴 PostmarkBounceActivation

GetBounce() 공개 메소드

Retrieves a single PostmarkBounce based on a specified ID.
public GetBounce ( string bounceId ) : PostmarkBounce
bounceId string The bounce ID
리턴 PostmarkBounce

GetBounceDump() 공개 메소드

Returns the raw source of the bounce we accepted. If Postmark does not have a dump for that bounce, it will return an empty string.
public GetBounceDump ( string bounceId ) : PostmarkBounceDump
bounceId string The bounce ID
리턴 PostmarkBounceDump

GetBounceTags() 공개 메소드

Returns a list of tags used for the current server.
public GetBounceTags ( ) : IEnumerable
리턴 IEnumerable

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( PostmarkBounceType type, bool inactive, int offset, int count ) : PostmarkBounces
type PostmarkBounceType The type of bounces to filter on
inactive bool Whether to return only inactive or active bounces; use null to return all bounces
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( PostmarkBounceType type, bool inactive, string emailFilter, int offset, int count ) : PostmarkBounces
type PostmarkBounceType The type of bounces to filter on
inactive bool Whether to return only inactive or active bounces; use null to return all bounces
emailFilter string Filters based on whether the filter value is contained in the bounce source's email
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( PostmarkBounceType type, bool inactive, string emailFilter, string tag, int offset, int count ) : PostmarkBounces
type PostmarkBounceType The type of bounces to filter on
inactive bool Whether to return only inactive or active bounces; use null to return all bounces
emailFilter string Filters based on whether the filter value is contained in the bounce source's email
tag string Filters on the bounce tag
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( PostmarkBounceType type, int offset, int count ) : PostmarkBounces
type PostmarkBounceType The type of bounces to filter on
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( PostmarkBounceType type, string emailFilter, int offset, int count ) : PostmarkBounces
type PostmarkBounceType The type of bounces to filter on
emailFilter string Filters based on whether the filter value is contained in the bounce source's email
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( PostmarkBounceType type, string emailFilter, string tag, int offset, int count ) : PostmarkBounces
type PostmarkBounceType The type of bounces to filter on
emailFilter string Filters based on whether the filter value is contained in the bounce source's email
tag string Filters on the bounce tag
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( bool inactive, int offset, int count ) : PostmarkBounces
inactive bool Whether to return only inactive or active bounces; use null to return all bounces
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( bool inactive, string emailFilter, int offset, int count ) : PostmarkBounces
inactive bool Whether to return only inactive or active bounces; use null to return all bounces
emailFilter string Filters based on whether the filter value is contained in the bounce source's email
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( bool inactive, string emailFilter, string tag, int offset, int count ) : PostmarkBounces
inactive bool Whether to return only inactive or active bounces; use null to return all bounces
emailFilter string Filters based on whether the filter value is contained in the bounce source's email
tag string Filters on the bounce tag
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( int offset, int count ) : PostmarkBounces
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( string emailFilter, int offset, int count ) : PostmarkBounces
emailFilter string Filters based on whether the filter value is contained in the bounce source's email
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetBounces() 공개 메소드

Retrieves a collection of PostmarkBounce instances along with a sum total of bounces recorded by the server, based on filter parameters.
public GetBounces ( string emailFilter, string tag, int offset, int count ) : PostmarkBounces
emailFilter string Filters based on whether the filter value is contained in the bounce source's email
tag string Filters on the bounce tag
offset int The page offset for the returned results; mandatory
count int The number of results to return by the page offset; mandatory.
리턴 PostmarkBounces

GetDeliveryStats() 공개 메소드

Retrieves the bounce-related PostmarkDeliveryStats results for the associated mail server.
public GetDeliveryStats ( ) : PostmarkDeliveryStats
리턴 PostmarkDeliveryStats

GetInboundMessageDetail() 공개 메소드

Get the full details of a processed inbound message including all fields, attachment names, etc.
public GetInboundMessageDetail ( string messageID ) : InboundMessageDetail
messageID string The MessageID of a message which can be optained either from the initial API send call or a GetInboundMessages call.
리턴 InboundMessageDetail

GetInboundMessages() 공개 메소드

Return a listing of Inbound sent messages using the filters supported by the API.
public GetInboundMessages ( int count, int offset ) : PostmarkInboundMessageList
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkInboundMessageList

GetInboundMessages() 공개 메소드

Return a listing of Inbound sent messages using the filters supported by the API.
public GetInboundMessages ( string fromemail, int count, int offset ) : PostmarkInboundMessageList
fromemail string Filter by the email address the message is sent from.
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkInboundMessageList

GetInboundMessages() 공개 메소드

Return a listing of Inbound sent messages using the filters supported by the API.
public GetInboundMessages ( string fromemail, string subject, int count, int offset ) : PostmarkInboundMessageList
fromemail string Filter by the email address the message is sent from.
subject string Filter by message subject.
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkInboundMessageList

GetInboundMessages() 공개 메소드

Return a listing of Inbound sent messages using the filters supported by the API.
public GetInboundMessages ( string recipient, string fromemail, string subject, int count, int offset ) : PostmarkInboundMessageList
recipient string Filter by the recipient(s) of the message.
fromemail string Filter by the email address the message is sent from.
subject string Filter by message subject.
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkInboundMessageList

GetInboundMessages() 공개 메소드

Return a listing of Inbound sent messages using the filters supported by the API.
public GetInboundMessages ( string recipient, string fromemail, string subject, string mailboxhash, int count, int offset ) : PostmarkInboundMessageList
recipient string Filter by the recipient(s) of the message.
fromemail string Filter by the email address the message is sent from.
subject string Filter by message subject.
mailboxhash string Filter by mailbox hash that was parsed from the inbound message.
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkInboundMessageList

GetOutboundMessageDetail() 공개 메소드

Get the full details of a sent message including all fields, raw body, attachment names, etc
public GetOutboundMessageDetail ( string messageID ) : OutboundMessageDetail
messageID string The MessageID of a message which can be optained either from the initial API send call or a GetOutboundMessages call.
리턴 OutboundMessageDetail

GetOutboundMessageDump() 공개 메소드

Get the original raw message dump of on outbound message including all SMTP headers and data.
public GetOutboundMessageDump ( string messageID ) : MessageDump
messageID string The MessageID of a message which can be optained either from the initial API send call or a GetOutboundMessages call.
리턴 MessageDump

GetOutboundMessages() 공개 메소드

Return a listing of Outbound sent messages using the filters supported by the API.
public GetOutboundMessages ( int count, int offset ) : PostmarkOutboundMessageList
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkOutboundMessageList

GetOutboundMessages() 공개 메소드

Return a listing of Outbound sent messages using the filters supported by the API.
public GetOutboundMessages ( int count, int offset, string recipient ) : PostmarkOutboundMessageList
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
recipient string Filter by the recipient(s) of the message.
리턴 PostmarkOutboundMessageList

GetOutboundMessages() 공개 메소드

Return a listing of Outbound sent messages using the filters supported by the API.
public GetOutboundMessages ( int count, string subject, int offset ) : PostmarkOutboundMessageList
count int Number of messages to return per call. (required)
subject string Filter by message subject.
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkOutboundMessageList

GetOutboundMessages() 공개 메소드

Return a listing of Outbound sent messages using the filters supported by the API.
public GetOutboundMessages ( string subject, int count, int offset ) : PostmarkOutboundMessageList
subject string Filter by message subject.
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkOutboundMessageList

GetOutboundMessages() 공개 메소드

Return a listing of Outbound sent messages using the filters supported by the API.
public GetOutboundMessages ( string recipient, string fromemail, int count, int offset ) : PostmarkOutboundMessageList
recipient string Filter by the recipient(s) of the message.
fromemail string Filter by the email address the message is sent from.
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkOutboundMessageList

GetOutboundMessages() 공개 메소드

Return a listing of Outbound sent messages using the filters supported by the API.
public GetOutboundMessages ( string fromemail, string tag, string subject, int count, int offset ) : PostmarkOutboundMessageList
fromemail string Filter by the email address the message is sent from.
tag string Filter by a tag used for the message (messages sent directly through the API only)
subject string Filter by message subject.
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkOutboundMessageList

GetOutboundMessages() 공개 메소드

Return a listing of Outbound sent messages using the filters supported by the API.
public GetOutboundMessages ( string recipient, string fromemail, string tag, string subject, int count, int offset ) : PostmarkOutboundMessageList
recipient string Filter by the recipient(s) of the message.
fromemail string Filter by the email address the message is sent from.
tag string Filter by a tag used for the message (messages sent directly through the API only)
subject string Filter by message subject.
count int Number of messages to return per call. (required)
offset int Number of messages to offset/page per call. (required)
리턴 PostmarkOutboundMessageList

PostmarkClient() 공개 메소드

Initializes a new instance of the PostmarkClient class. If you do not have a server token you can request one by signing up to use Postmark: http://postmarkapp.com.
public PostmarkClient ( string serverToken ) : System.Collections.Specialized
serverToken string The server token.
리턴 System.Collections.Specialized

PostmarkClient() 공개 메소드

Initializes a new instance of the PostmarkClient class. If you do not have a server token you can request one by signing up to use Postmark: http://postmarkapp.com. Extra signature to override https
public PostmarkClient ( string serverToken, bool noSSL ) : System.Collections.Specialized
serverToken string You can get a server token by signing up at http://www.postmarkapp.com
noSSL bool Skip https usage
리턴 System.Collections.Specialized

PostmarkClient() 공개 메소드

Initializes a new instance of the PostmarkClient class. If you do not have a server token you can request one by signing up to use Postmark: http://postmarkapp.com.
public PostmarkClient ( string serverToken, int timeout ) : System.Collections.Specialized
serverToken string The server token.
timeout int Time to wait for the API in seconds.
리턴 System.Collections.Specialized

SendMessage() 공개 메소드

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 SendMessage ( PostmarkMessage message ) : PostmarkResponse
message PostmarkMessage A prepared message instance.
리턴 PostmarkResponse

SendMessage() 공개 메소드

Send an email using a template associated with your Server.
public SendMessage ( TemplatedPostmarkMessage message ) : PostmarkResponse
message TemplatedPostmarkMessage
리턴 PostmarkResponse

SendMessage() 공개 메소드

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 SendMessage ( string from, string to, string subject, string body ) : PostmarkResponse
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.
리턴 PostmarkResponse

SendMessage() 공개 메소드

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 SendMessage ( string from, string to, string subject, string body, NameValueCollection headers ) : PostmarkResponse
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 NameValueCollection A collection of additional mail headers to send with the message.
리턴 PostmarkResponse

SendMessage() 공개 메소드

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 SendMessage ( PostmarkMessage message, Action callback ) : void
message PostmarkMessage A prepared message instance
callback Action The callback invoked when a response is received from the API
리턴 void

SendMessage() 공개 메소드

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 SendMessage ( string from, string to, string subject, string body, Action callback ) : void
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.
callback Action The callback invoked when a is received from the API
리턴 void

SendMessage() 공개 메소드

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 SendMessage ( string from, string to, string subject, string body, NameValueCollection headers, Action callback ) : void
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 NameValueCollection A collection of additional mail headers to send with the message
callback Action The callback invoked when a response is received from the API
리턴 void

SendMessages() 공개 메소드

Sends a batch of 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 SendMessages ( ) : IEnumerable
리턴 IEnumerable

SendMessages() 공개 메소드

Sends a batch of 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 SendMessages ( IEnumerable messages ) : IEnumerable
messages IEnumerable A prepared message batch.
리턴 IEnumerable

SendMessages() 공개 메소드

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 SendMessages ( IEnumerable messages, Action callback ) : void
messages IEnumerable A prepared message batch.
callback Action The callback invoked when a response is received from the API
리턴 void