ProductivityTools.SendEmailGmail
0.0.13
dotnet add package ProductivityTools.SendEmailGmail --version 0.0.13
NuGet\Install-Package ProductivityTools.SendEmailGmail -Version 0.0.13
<PackageReference Include="ProductivityTools.SendEmailGmail" Version="0.0.13" />
paket add ProductivityTools.SendEmailGmail --version 0.0.13
#r "nuget: ProductivityTools.SendEmailGmail, 0.0.13"
// Install ProductivityTools.SendEmailGmail as a Cake Addin #addin nuget:?package=ProductivityTools.SendEmailGmail&version=0.0.13 // Install ProductivityTools.SendEmailGmail as a Cake Tool #tool nuget:?package=ProductivityTools.SendEmailGmail&version=0.0.13
<p align="right"> <a href="https://www.powershellgallery.com/packages/ProductivityTools.PSSetLockScreen/"><img src="Images/Header/Nuget_border_40px.png" /></a> <a href="http://www.productivitytools.tech/sql-commands/"><img src="Images/Header/ProductivityTools_green_40px_2.png" /><a> <a href="https://www.github.com/pwujczyk/ProductivityTools.PSSetLockScreen"><img src="Images/Header/Github_border_40px.png" /></a> </p> <p align="center"> <a href="http://productivitytools.tech/"> <img src="Images/Header/LogoTitle_green_500px.png" /> </a> </p>
Send-EmailGmail
Nuget simplify sending email through gmail account.
IConfigurationRoot configuration = new ConfigurationBuilder()
.AddMasterConfiguration()
.Build();
string password = configuration["GmailPassword"];
SentEmailGmail.Gmail.Send("productivitytools.tech@gmail.com", configuration["GmailPassword"], "pwujczyk@hotmail.com", "Subject", body);
As Google does not allow anymore less secure apps as a password you should pass App Password
Here is tutorial how to create App Password
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
gmail mail send