Paubox Email API was developed specifically for software developers and healthcare organizations utilizing third-party or custom software.
When I learned about Paubox, I knew it was exactly what I needed. There wasn’t really even a question. For the vast majority of users, the experience would just be email—familiar, ubiquitous email.
Daniel Nelson
CTO at PlateJoy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Send secure email using the Paubox JavaScript/Node.js Library
// https://github.com/Paubox/paubox-node
"use strict";
require('dotenv').config();
const pbMail = require('paubox-node');
const service = pbMail.emailService();
var options = {
from: 'sender@domain.com',
to: ['recipient@example.com'],
subject: 'Testing!',
text_content: 'Hello World!',
html_content: '<html><head></head><body><h1>Hello World!</h1></body></html>',
}
var message = pbMail.message(options)
service.sendMessage(message)
.then(response => {
console.log("Send Message method Response: " + JSON.stringify(response));
}).catch(error => {
console.log("Error in Send Message method: " + JSON.stringify(error));
});
Node.js
Install via GithubRuby On Rails
Install via GithubPython 3
Install via GithubPython 2
Install via Github