Cake.Email is an Addin for Cake which allows sending of email from your build scripts.
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.Email&version=x.y.z&loaddependencies=trueSecond, we highly recommend that you add the following 'using' statement in your script. Technically, this is not necessary, 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.