SMTP Email Server
Yournotify provides SMTP email server for marketing campaigns for businesses in Nigeria and across Africa. Connect via Nodejs, Nodemailer, WordPress or custom SMTP plugins
There are several SMTP plugins, addons and extension that can used for connecting with our server. It all depends on your application. If you send or plan to send large volume emails, you might need to consider our dedicated SMTP server.
For WordPress, you can checkout:
For PHP, you can checkout:
Below is an example using nodejs nodemailer
const nodemailer = require("nodemailer");
try {
const transporter = nodemailer.createTransport({
host: "smtp.yournotify.com",
port: 587,
secure: true,
auth: {
user: '[YOUR EMAIL]', // Email for Yournotify account
pass: '[YOUR API KEY]' // API key generated from Yournotify
},
tls:{
rejectUnauthorized: false,
}
});
const info = await transporter.sendMail({
from: '"Yournotify" <noreply@yournotify.com>', // sender address
to: "name@domain.com", // list of receivers
subject: "SMTP is coming to Yournotify!", // Subject line
text: "Hello SMTP", // plain text body
html: "Hello SMTP", // html body
});
console.log("Message sent: %s", info.messageId);
return response.status(200).send({ status: 'success', message: "SMTP message was sent successfully" });
} catch (error) {
console.error(error);
return response.status(500).send({ status: 'failed', message: error });
}