Esempio n. 1
0
 public static PostmarkOutboundMessageList GetOutboundMessages(this PostmarkClient client,
                                                               string subject, int count, int offset)
 {
     return(client.GetOutboundMessagesAsync(offset, count, subject: subject).WaitForResult());
 }
Esempio n. 2
0
 public static PostmarkOutboundMessageList GetOutboundMessages(this PostmarkClient client,
                                                               string recipient, string fromemail, int count, int offset)
 {
     return(client.GetOutboundMessagesAsync(offset, count, recipient, fromemail).WaitForResult());
 }
Esempio n. 3
0
 public static IAsyncResult BeginGetOutboundMessages
     (this PostmarkClient client, string recipient, string fromemail,
     string tag, string subject, int count, int offset)
 {
     return(client.GetOutboundMessagesAsync(offset, count, recipient, fromemail, tag, subject));
 }
Esempio n. 4
0
 public static IAsyncResult BeginGetOutboundMessages(this PostmarkClient client, string subject, int count, int offset)
 {
     return(client.GetOutboundMessagesAsync(offset, count, subject: subject));
 }
 public static PostmarkOutboundMessageList GetOutboundMessages(this PostmarkClient client,
                                                               string recipient, string fromemail, string tag, string subject, int count, int offset)
 {
     return(Task.Run(async() => await client.GetOutboundMessagesAsync(offset, count, recipient, fromemail, tag, subject)).Result);
 }
 public static PostmarkOutboundMessageList GetOutboundMessages(this PostmarkClient client, int count, int offset)
 {
     return(Task.Run(async() => await client.GetOutboundMessagesAsync(offset, count)).Result);
 }