C# 클래스 PostmarkDotNet.SystemMailExtensions

파일 보기 프로젝트 열기: wildbit/postmark-dotnet

공개 메소드들

메소드 설명
SendMessageAsync ( this client, MailMessage message ) : Task

Send a System.Net.MailMessage (transparently converts to the PostmarkMessage).

SendMessagesAsync ( this client ) : Task>

Send a System.Net.MailMessage(s) (transparently converts to the PostmarkMessages).

비공개 메소드들

메소드 설명
ConvertSystemMailMessage ( MailMessage message ) : PostmarkMessage

Initializes a new instance of the PostmarkMessage class based on an existing MailMessage instance. Only the first recipient of the message is added to the PostmarkMessage instance.

GetHtmlBodyFromAlternateViews ( PostmarkMessage m, MailMessage message ) : void
GetMailMessageBcc ( PostmarkMessage m, MailMessage message ) : void
GetMailMessageCc ( PostmarkMessage m, MailMessage message ) : void
GetMailMessageRecipients ( PostmarkMessage m, MailMessage message ) : void
GetMailMessageTo ( PostmarkMessage m, MailMessage message ) : void
GetStringFromView ( System.Net.Mail.AttachmentBase view ) : string
ReadStream ( Stream input, int bufferSize ) : byte[]
resolveViewEncoding ( System.Net.Mail.AttachmentBase view, Encoding fallbackEncoding ) : Encoding

메소드 상세

SendMessageAsync() 공개 정적인 메소드

Send a System.Net.MailMessage (transparently converts to the PostmarkMessage).
public static SendMessageAsync ( this client, MailMessage message ) : Task
client this
message System.Net.Mail.MailMessage
리턴 Task

SendMessagesAsync() 공개 정적인 메소드

Send a System.Net.MailMessage(s) (transparently converts to the PostmarkMessages).
public static SendMessagesAsync ( this client ) : Task>
client this
리턴 Task>