EmfMailService 1.0.3
dotnet add package EmfMailService --version 1.0.3
NuGet\Install-Package EmfMailService -Version 1.0.3
<PackageReference Include="EmfMailService" Version="1.0.3" />
paket add EmfMailService --version 1.0.3
#r "nuget: EmfMailService, 1.0.3"
// Install EmfMailService as a Cake Addin #addin nuget:?package=EmfMailService&version=1.0.3 // Install EmfMailService as a Cake Tool #tool nuget:?package=EmfMailService&version=1.0.3
appsettings.json dosyasına eklenecek
"SmtpSettings": { "Server": "smtp.your-email-provider.com", "Port": 587, "SenderName": "Your Name", "SenderEmail": "your-email@example.com", "Username": "your-username", "Password": "your-password", "MaxFileSize": 5242880, "UseSSL": true // true for SSL, false for no SSL }
program.cs dosyasına eklenecek
var smtpSettings = builder.Configuration.GetSection("SmtpSettings").Get<SmtpSettings>(); builder.Services.AddSingleton(smtpSettings!); builder.Services.AddTransient<IEmailService, EmailService>();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Ek dosya desteği ve dosya boyutu kontrolü ile e-posta gönderme desteği içeren ilk sürüm.