Paubox_Email_SDK - Perl wrapper for the Paubox Transactional Email API (https://www.paubox.com/solutions/email-api).
use strict; use warnings; use Paubox_Email_SDK; my $messageObj = new Paubox_Email_SDK::Message( 'from' => 'sender@domain.com', 'to' => ['recipient@example.com'], 'subject' => 'Testing!', 'text_content' => 'Hello World!', 'html_content' => '<html><body><h1>Hello World!</h1></body></html>' ); my $service = Paubox_Email_SDK -> new(); my $response = $service -> sendMessage($messageObj); print $response;
This is the official Perl wrapper for the Paubox Transactional Email API (https://www.paubox.com/solutions/email-api). It is currently in alpha development.
The Paubox Transactional Email API allows your application to send secure, HIPAA-compliant email via Paubox and track deliveries and opens. The API wrapper allows you to construct and send messages.
Copyright (C) 2019 by Paubox Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
To install Paubox_Email_SDK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paubox_Email_SDK
CPAN shell
perl -MCPAN -e shell install Paubox_Email_SDK
For more information on module installation, please visit the detailed CPAN module installation guide.