RonSijm.Flowmailer
1.0.3
Prefix Reserved
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.1
This package targets .NET Standard 2.1. The package is compatible with this framework or higher.
.NET Framework 4.8.1
This package targets .NET Framework 4.8.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RonSijm.Flowmailer --version 1.0.3
NuGet\Install-Package RonSijm.Flowmailer -Version 1.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RonSijm.Flowmailer" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RonSijm.Flowmailer --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RonSijm.Flowmailer, 1.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RonSijm.Flowmailer as a Cake Addin
#addin nuget:?package=RonSijm.Flowmailer&version=1.0.3
// Install RonSijm.Flowmailer as a Cake Tool
#tool nuget:?package=RonSijm.Flowmailer&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RonSijm.Flowmailer
C# client library implementing all Flowmailer API methods
API documentation: https://flowmailer.com/apidoc/flowmailer-api
Nuget: https://www.nuget.org/packages/RonSijm.Flowmailer/
Usage in library:
var client = new FlowMailerClient(httpFactory, "ClientId", "ClientSecret", "AccountId");
var result = await client.GetEventFlows();
Usage in ASP Core:
Create a config session in your appsettings.json:
"FlowMailer": {
"ClientId": "ClientId",
"ClientSecret": "ClientSecret",
"AccountId": "1337"
}
Wire it up in your Program.cs:
var flowMailerConfig = builder.Configuration.GetSection("FlowMailer").Get<FlowMailerOptions>();
builder.Services.AddScoped<IFlowMailerClient>(serviceProvider => new FlowMailerClient(serviceProvider.GetService<IHttpClientFactory>(), flowMailerConfig));
Implemented methods:
- Url: https://api.flowmailer.net/{account_id}/event_flow_rules
- Endpoint: Task<string> GetEventFlowRules(CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/event_flow_rules/hierarchy
- Endpoint: Task<string> GetEventFlowRulesHierarchy(CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/event_flows
- Endpoint: Task<List<EventFlow>> ListEventFlows(CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/event_flows
- Endpoint: Task<string> CreateEventFlows(EventFlow request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/event_flows/{event_flow_id}
- Endpoint: Task<string> DeleteEventFlows(string event_flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/event_flows/{event_flow_id}
- Endpoint: Task<EventFlow> GetEventFlows(string event_flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/event_flows/{event_flow_id}
- Endpoint: Task<EventFlow> SaveEventFlows(EventFlow request, string event_flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/event_flows/{event_flow_id}/rule
- Endpoint: Task<EventFlowRuleSimple> GetEventFlowsRule(string event_flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/event_flows/{event_flow_id}/rule
- Endpoint: Task<string> SetEventFlowsRule(EventFlowRuleSimple request, string event_flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/filters
- Endpoint: Task<List<Filter>> ListFilters(ref_range range, date_range daterange = default, string sortorder = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/filters/{filter_id}
- Endpoint: Task<string> DeleteFilters(string filter_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flow_rules
- Endpoint: Task<string> GetFlowRules(CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flow_templates
- Endpoint: Task<List<FlowTemplate>> ListFlowTemplates(CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows
- Endpoint: Task<List<Flow>> ListFlows(bool statistics = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows
- Endpoint: Task<string> CreateFlows(Flow request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows/{flow_id}
- Endpoint: Task<string> DeleteFlows(string flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows/{flow_id}
- Endpoint: Task<Flow> GetFlows(string flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows/{flow_id}
- Endpoint: Task<Flow> SaveFlows(Flow request, string flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows/{flow_id}/messages
- Endpoint: Task<List<Message>> ListFlowsMessages(date_range daterange, string flow_id, items_range range, bool addheaders = default, bool addonlinelink = default, bool addtags = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows/{flow_id}/rule
- Endpoint: Task<FlowRuleSimple> GetFlowsRule(string flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows/{flow_id}/rule
- Endpoint: Task<string> SetFlowsRule(FlowRuleSimple request, string flow_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/flows/{flow_id}/stats
- Endpoint: Task<DataSets> GetFlowsStats(date_range daterange, string flow_id, int interval = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/message_events
- Endpoint: Task<List<MessageEvent>> ListMessageEvents(ref_range range, bool addmessagetags = default, date_range daterange = default, List<string> flow_ids = default, date_range receivedrange = default, string sortorder = default, List<string> source_ids = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/message_hold
- Endpoint: Task<List<MessageHold>> ListMessageHold(items_range range, date_range daterange = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/message_hold/{message_id}
- Endpoint: Task<MessageHold> GetMessageHold(string message_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messages
- Endpoint: Task<List<Message>> ListMessages(ref_range range, bool addevents = default, bool addheaders = default, bool addonlinelink = default, bool addtags = default, date_range daterange = default, List<string> flow_ids = default, string sortfield = default, string sortorder = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messages/simulate
- Endpoint: Task<SimulateMessageResult> SimulateMessagesSimulate(SimulateMessage request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messages/submit
- Endpoint: Task<string> SendMessagesSubmit(SubmitMessage request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messages/{message_id}
- Endpoint: Task<Message> GetMessages(string message_id, bool addtags = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messages/{message_id}/archive
- Endpoint: Task<List<MessageArchive>> ListMessagesArchive(string message_id, bool addattachments = default, bool adddata = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messages/{message_id}/archive/{flow_step_id}/attachment/{content_id}
- Endpoint: Task<Attachment> FetchMessagesArchiveAttachmentByFlowStepIdAndContentId(string content_id, string flow_step_id, string message_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messages/{message_id}/error_archive
- Endpoint: Task<MessageArchive> GetMessagesErrorArchive(string message_id, bool addattachments = default, bool adddata = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messages/{message_id}/resend
- Endpoint: Task<string> ResendMessagesResend(ResendMessage request, string message_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/messagestats
- Endpoint: Task<DataSets> GetMessagestats(date_range daterange, List<string> flow_ids = default, int interval = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/recipient/{recipient}
- Endpoint: Task<Recipient> GetRecipient(string recipient, date_range daterange = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/recipient/{recipient}/messages
- Endpoint: Task<List<Message>> ListRecipientMessages(ref_range range, string recipient, bool addheaders = default, bool addonlinelink = default, bool addtags = default, date_range daterange = default, string sortorder = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender/{sender}/messages
- Endpoint: Task<List<Message>> ListSenderMessages(ref_range range, string sender, bool addheaders = default, bool addonlinelink = default, bool addtags = default, date_range daterange = default, string sortorder = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_domains
- Endpoint: Task<List<SenderDomain>> ListSenderDomains(CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_domains
- Endpoint: Task<string> CreateSenderDomains(SenderDomain request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_domains/by_domain/{domain}
- Endpoint: Task<SenderDomain> GetSenderDomainsByDomain(string domain, bool validate = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_domains/validate
- Endpoint: Task<SenderDomain> SaveSenderDomainsValidate(SenderDomain request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_domains/{domain_id}
- Endpoint: Task<string> DeleteSenderDomains(string domain_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_domains/{domain_id}
- Endpoint: Task<SenderDomain> GetSenderDomains(string domain_id, bool validate = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_domains/{domain_id}
- Endpoint: Task<string> SaveSenderDomains(SenderDomain request, string domain_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_identities
- Endpoint: Task<List<SenderIdentity>> ListSenderIdentities(CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_identities
- Endpoint: Task<string> CreateSenderIdentities(SenderIdentity request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_identities/{identity_id}
- Endpoint: Task<string> DeleteSenderIdentitiesByIdentityId(string identity_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_identities/{identity_id}
- Endpoint: Task<SenderIdentity> GetSenderIdentitiesByIdentityId(string identity_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sender_identities/{identity_id}
- Endpoint: Task<string> SaveSenderIdentitiesByIdentityId(SenderIdentity request, string identity_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources
- Endpoint: Task<List<Source>> ListSources(bool statistics = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources
- Endpoint: Task<string> PostSources(Source request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}
- Endpoint: Task<string> DeleteSources(string source_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}
- Endpoint: Task<Source> GetSources(string source_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}
- Endpoint: Task<string> UpdateSources(Source request, string source_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}/messages
- Endpoint: Task<List<Message>> ListSourcesMessages(date_range daterange, items_range range, string source_id, bool addheaders = default, bool addonlinelink = default, bool addtags = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}/stats
- Endpoint: Task<DataSets> GetSourcesStats(date_range daterange, string source_id, int interval = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}/users
- Endpoint: Task<List<Credentials>> ListSourcesUsers(string source_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}/users
- Endpoint: Task<Credentials> PostSourcesUsers(Credentials request, string source_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}/users/{user_id}
- Endpoint: Task<string> DeleteSourcesUsers(string source_id, string user_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}/users/{user_id}
- Endpoint: Task<Credentials> GetSourcesUsers(string source_id, string user_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/sources/{source_id}/users/{user_id}
- Endpoint: Task<Credentials> UpdateSourcesUsers(Credentials request, string source_id, string user_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/tag/{tag}/messages
- Endpoint: Task<List<Message>> ListTagMessages(ref_range range, string tag, bool addheaders = default, bool addonlinelink = default, bool addtags = default, date_range daterange = default, string sortorder = default, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/templates
- Endpoint: Task<List<Template>> ListTemplates(CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/templates
- Endpoint: Task<string> CreateTemplates(Template request, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/templates/{template_id}
- Endpoint: Task<string> DeleteTemplates(string template_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/templates/{template_id}
- Endpoint: Task<Template> GetTemplates(string template_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/templates/{template_id}
- Endpoint: Task<string> SaveTemplates(Template request, string template_id, CancellationToken cancellationToken = default)
- Url: https://api.flowmailer.net/{account_id}/undeliveredmessages
- Endpoint: Task<List<BouncedMessage>> ListUndeliveredmessages(ref_range range, bool addevents = default, bool addheaders = default, bool addonlinelink = default, bool addtags = default, date_range daterange = default, date_range receivedrange = default, string sortorder = default, CancellationToken cancellationToken = default)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
.NET Framework | net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8.1
- Microsoft.Extensions.Http (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.2)
-
.NETStandard 2.1
- Microsoft.Extensions.Http (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.2)
-
net6.0
- Microsoft.Extensions.Http (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.2)
-
net7.0
- Microsoft.Extensions.Http (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.