Transmitly.ChannelProvider.Infobip
0.1.0-43.8aa74c3
See the version list below for details.
dotnet add package Transmitly.ChannelProvider.Infobip --version 0.1.0-43.8aa74c3
NuGet\Install-Package Transmitly.ChannelProvider.Infobip -Version 0.1.0-43.8aa74c3
<PackageReference Include="Transmitly.ChannelProvider.Infobip" Version="0.1.0-43.8aa74c3" />
paket add Transmitly.ChannelProvider.Infobip --version 0.1.0-43.8aa74c3
#r "nuget: Transmitly.ChannelProvider.Infobip, 0.1.0-43.8aa74c3"
// Install Transmitly.ChannelProvider.Infobip as a Cake Addin #addin nuget:?package=Transmitly.ChannelProvider.Infobip&version=0.1.0-43.8aa74c3&prerelease // Install Transmitly.ChannelProvider.Infobip as a Cake Tool #tool nuget:?package=Transmitly.ChannelProvider.Infobip&version=0.1.0-43.8aa74c3&prerelease
Transmitly.ChannelProvider.Infobip
A Transmitly channel provider that enables sending Email and SMS communications with Infobip.
Getting started
To use the Infobip channel provider, first install the NuGet package:
dotnet add package Transmitly.ChannelProvider.Infobip
Then add the channel provider using AddInfobipSupport()
:
using Transmitly;
...
var communicationClient = new CommunicationsClientBuilder()
.AddInfobipSupport(options =>
{
options.BasePath = "https://base.infobip.com";
options.ApiKey = "key";
options.ApiKeyPrefix = "App";
})
.AddPipeline("first-pipeline", pipeline =>
{
//AddEmail is a channel that is core to the Transmitly library.
//AsAudienceAddress() is also a convenience method that helps us create an audience address
//Audience addresses can be anything, email, phone, or even a device/app Id for push notifications!
pipeline.AddEmail("from@mydomain.com".AsAudienceAddress("Test Display Name"), email =>
{
//Transmitly is a bit different. All of our content is supported by templates out of the box.
//There are multiple types of templates to get you started. You can even create templates
//specific to certain cultures!
email.Subject.AddStringTemplate("Hey, Check out Transmit.ly!");
email.HtmlBody.AddStringTemplate("Hey, check out this cool new library for managing app communications. <a href=\"https://transmit.ly\">");
email.TextBody.AddStringTemplate("Hey, check out this cool new library. https://transmitly.ly");
});
//AddSms is a channel that is core to the Transmitly library.
pipeline.AddSms(sms =>
{
sms.Body.AddStringTemplate("Check out Transmit.ly!");
});
});
//Dispatch (send) the transsactional messages to our friend Joe (joe@mydomain.com & 888-555-1234) using our configured InfoBip account with our "first-pipeline" pipeline.
var result = await communicationsClient.DispatchAsync("first-pipeline", ["joe@mydomain.com".AsAudienceAddress("Joe"),"+18885551234".AsAudienceAddress()], new { });
- See the Transmitly project for more details on what a channel provider is and how it can be configured.
<picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/transmitly/transmitly/assets/3877248/524f26c8-f670-4dfa-be78-badda0f48bfb"> <img alt="an open-source project sponsored by CiLabs of Code Impressions, LLC" src="https://github.com/transmitly/transmitly/assets/3877248/34239edd-234d-4bee-9352-49d781716364" width="350" align="right"> </picture>
Copyright © Code Impressions, LLC - Provided under the Apache License, Version 2.0.
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 was computed. 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 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- System.Text.Json (>= 6.0.0)
- Transmitly (>= 0.1.0-176.e95bbdf)
-
.NETFramework 4.8
- System.Text.Json (>= 6.0.0)
- Transmitly (>= 0.1.0-176.e95bbdf)
-
.NETStandard 2.0
- System.Text.Json (>= 6.0.0)
- Transmitly (>= 0.1.0-176.e95bbdf)
-
net6.0
- Transmitly (>= 0.1.0-176.e95bbdf)
-
net8.0
- Transmitly (>= 0.1.0-176.e95bbdf)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.1-1.90ef25c | 41 | 10/14/2024 |
0.1.0 | 107 | 9/11/2024 |
0.1.0-43.8aa74c3 | 58 | 6/1/2024 |
0.1.0-42.f905e97 | 74 | 4/19/2024 |
0.1.0-41.4efa067 | 66 | 4/12/2024 |
0.1.0-39.cbc07b9 | 61 | 4/11/2024 |
0.1.0-38.62c86b6 | 52 | 4/9/2024 |
0.1.0-37.2397529 | 53 | 4/7/2024 |
0.1.0-35.12d1779 | 67 | 4/7/2024 |
0.1.0-34.ab155f4 | 69 | 4/7/2024 |
0.1.0-33.063aa10 | 65 | 4/5/2024 |
0.1.0-32.acb866e | 59 | 4/3/2024 |
0.1.0-30.d7cf0bf | 62 | 4/3/2024 |
0.1.0-29.e1a6268 | 61 | 3/31/2024 |
0.1.0-28.e645838 | 69 | 3/31/2024 |
0.1.0-27.24ac7b0 | 68 | 3/23/2024 |
0.1.0-26.c7ad6b0 | 62 | 3/22/2024 |
0.1.0-25.d230827 | 66 | 3/21/2024 |
0.1.0-24.01092ad | 57 | 3/21/2024 |
0.1.0-22.8c9850a | 72 | 3/20/2024 |
0.1.0-21.1a8c417 | 65 | 3/20/2024 |
0.1.0-19.40fff9f | 63 | 3/19/2024 |
0.1.0-18.1d36fac | 56 | 3/18/2024 |
0.1.0-17.d75d942 | 64 | 3/18/2024 |
0.1.0-14.f259085 | 53 | 3/18/2024 |
0.1.0-13.1954833 | 61 | 3/18/2024 |
0.1.0-12.d8aa841 | 60 | 3/18/2024 |
0.1.0-11.ce1a1fb | 70 | 3/15/2024 |
0.1.0-10.c49ac69 | 55 | 3/13/2024 |