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