revenuewire / email-client
RW Email Client
Installs: 2 246
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- aws/aws-sdk-php: ^3.36
Requires (Dev)
- php-coveralls/php-coveralls: ^1.0
- phpunit/phpunit: ^5.5.0
This package is auto-updated.
Last update: 2024-11-12 06:57:31 UTC
README
composer require revenuewire/email-client
Send Direct
\RW\Email\Client::init(["region" => "[YOUR_REGION]", "url" => "[YOUR_QUEUE]"]); $templateId = "59d2be5f18c13"; $from = ["name" => "Scott", "emailAddress" => "noreply@safecart.com"]; $to = [["name" => "Scott", "emailAddress" => "swang@revenuewire.com"]]; $data = ["name" => "Scott", "message" => "可以吧 8"]; $result = \RW\Email\Client::directSend($templateId, $from, $to, $data);