Example #1
0
 public static PostmarkOutboundMessageList GetOutboundMessages(this PostmarkClient client,
                                                               string subject, int count, int offset)
 {
     return(client.GetOutboundMessagesAsync(offset, count, subject: subject).WaitForResult());
 }
Example #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());
 }
Example #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));
 }
Example #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);
 }