ProductivityTools.SendEmailGmail
0.0.18
dotnet add package ProductivityTools.SendEmailGmail --version 0.0.18
NuGet\Install-Package ProductivityTools.SendEmailGmail -Version 0.0.18
<PackageReference Include="ProductivityTools.SendEmailGmail" Version="0.0.18" />
<PackageVersion Include="ProductivityTools.SendEmailGmail" Version="0.0.18" />
<PackageReference Include="ProductivityTools.SendEmailGmail" />
paket add ProductivityTools.SendEmailGmail --version 0.0.18
#r "nuget: ProductivityTools.SendEmailGmail, 0.0.18"
#:package ProductivityTools.SendEmailGmail@0.0.18
#addin nuget:?package=ProductivityTools.SendEmailGmail&version=0.0.18
#tool nuget:?package=ProductivityTools.SendEmailGmail&version=0.0.18
<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 | 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ProductivityTools.SendEmailGmail:
| Package | Downloads |
|---|---|
|
ProductivityTools.GetTask3.Reporting
Generate report for the get task application |
GitHub repositories
This package is not used by any popular GitHub repositories.
gmail mail send