EOH.Sms 0.1.2023.828

There is a newer version of this package available.
See the version list below for details.
dotnet add package EOH.Sms --version 0.1.2023.828                
NuGet\Install-Package EOH.Sms -Version 0.1.2023.828                
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="EOH.Sms" Version="0.1.2023.828" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EOH.Sms --version 0.1.2023.828                
#r "nuget: EOH.Sms, 0.1.2023.828"                
#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 EOH.Sms as a Cake Addin
#addin nuget:?package=EOH.Sms&version=0.1.2023.828

// Install EOH.Sms as a Cake Tool
#tool nuget:?package=EOH.Sms&version=0.1.2023.828                

EO.Sms SMS API 封装组件

该组件旨在简化与阿里云和腾讯云短信 API 的集成,提供了易于使用的方法来发送短信和处理短信发送状态。 通过封装底层的 API 调用,你可以更加专注于业务逻辑,而不需要过多关心底层细节。 EO(Extended Office hours)延长办公时间

功能

  1. 阿里云短信
  • ✅ 短链管理
  • ✅ 短信发送
  • ✅ 发送查询
  • ✅ 签名管理
  • ✅ 模板管理
  • ✅ 国际短信
    • 标签管理
    • 卡片短信
  1. 腾讯云短信
    • 暂时无环境,延后实现
安装

使用 NuGet 包管理器安装:

使用示例

初始化

var service = new ServiceCollection();
service.AddAlibabaSmsService((options) =>
{
    options.AccessKeyId = "AccessKeyId ";
    options.AccessKeySecret = "AccessKeySecret ";
});

发送短信

var res = await _AlibabaService.Execute(new SendSmsRequest
{
    Model = new SendSmsModel
    {
        PhoneNumbers = new List<string> { "18688864248" },
        SignName = "**",
        TemplateCode = "**",
        TemplateParam = "{\"code\":\"1111\"}"
    }
});

var res = _AlibabaService.Execute(new SendBatchSmsRequest
{
    Model = new SendBatchSmsModel
    {
        PhoneNumberJson = new List<string> { "18688864248" },
        SignNameJson = new List<string> { "签名" },
        TemplateCode = "SMS_***",
        TemplateParamJson = new List<string> { "{\"code\":\"1111\"}" }
    }
});
贡献

欢迎贡献代码、报告问题和提供建议!请在 Gitee/GitHub 项目中提交 Issue 或 Pull Request。

许可

本项目基于 MIT 许可进行分发和使用。详细信息请查阅 LICENSE 文件。

作者

作者:荣少<br/> 邮箱:ligengrong@hotmail.com<br/> QQ群:7405133

🏅开源地址

Gitee <br/>

🧧 赞赏作者

你的赞赏就是我前进的动力🏃,
如果OT.Sms给你带来了不少便利,
那就请作者喝杯咖啡☕吧。

alternate text is missing from this package README image

Product 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 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. 
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.

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.2.2024.315 155 3/15/2024
0.2.2024.311 100 3/11/2024
0.1.2024.311 107 3/11/2024
0.1.2023.828 186 8/28/2023

阿里云短信;短信;移动;联通;电信;腾讯云短信;