rsthn / rose-ext-wind-sendgrid
SendGrid Adapter for Wind
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:rose-extension
Requires
README
This extension adds expression functions to Wind to send emails using SendGrid.
NOTE: The extension detects the presence of Wind, when not installed, this extension will simply not be loaded.
Installation
composer require rsthn/rose-ext-wind-sendgrid
Configuration Section: Mail
Expression Functions
mail::send
name:string value:string ...
sendgrid::send
name:string value:string ...
Sends an email and returns boolean (true) if successfully sent. Error messages are written to the system log. Accepts one or more name:value pairs. Currently supported:
Example:
(mail::send RCPT 'example@host.com' SUBJECT 'This is a test.' BODY '<b>Thanks for reading this email.</b>' )