Cake.SendGrid is an Addin for Cake which allows sending of email via SendGrid.
First, include a reference to this addin in your script like this (of course, replace x.y.z
with the latest version available on NuGet):
#addin nuget:?package=Cake.SendGrid&version=x.y.z&loaddependencies=true
Second, we highly recommend that you add the following 'using' statement in your script. Technically, this is not necesary, but it simplifies dealing with attachements:
using Cake.Email.Common;
Stable | Pre-release | |
---|---|---|
GitHub Release | - | |
Package |
Develop | Master |
---|---|
Please do not hesitate to reach out in the GitHub discussions if you have any issues using this addin.