
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Transmitly.ChannelProvider.Infobip.Api
Advanced tools
An Infobip channel provider for the Transmitly library.
A Transmitly channel provider that enables sending Email and SMS communications with Infobip.
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.
//AsIdentityAddress() is also a convenience method that helps us create an identity address
//Identity addresses can be anything, email, phone, or even a device/app Id for push notifications!
pipeline.AddEmail("from@mydomain.com".AsIdentityAddress("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.Message.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".AsIdentityAddress("Joe"),"+18885551234".AsIdentityAddress()], new { });
Copyright © Code Impressions, LLC - Provided under the Apache License, Version 2.0.
FAQs
An Infobip channel provider for the Transmitly library.
We found that transmitly.channelprovider.infobip.api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.