Looking for example of using Notifications SendGrid profile to send email from custom widget
I have a custom mvc widget that I would like to send an email out by utilizing the SendGrid profile we have configured in the backend settings for Sitefinity.
I am unclear as to if I can tap into the Notifications piece that Sitefinity has just to send out a simple email or if I need to install the SendGrid library via NuGet and then setup my credentials again in code.
I am not looking to use campaigns in any way. I just want to send an email message without having to re-invent the wheel with configurations that may already exists in Sitefinity.
Any examples would be welcome.