Create a key to copy examples filled with your team.

Send emails with WordPress

Point PHPMailer or an SMTP plugin at PostShiba.

WordPress sends through PHPMailer. Hook phpmailer_init, or paste the same fields into WP Mail SMTP or FluentSMTP. Port 587. STARTTLS. AUTH PLAIN. AUTH LOGIN fails. The From address must be a verified domain.

smtp.php
1 add_action("phpmailer_init", function ($phpmailer) {
2 $phpmailer->isSMTP();
3 $phpmailer->Host = "smtp.postshiba.com";
4 $phpmailer->Port = 587;
5 $phpmailer->SMTPSecure = "tls";
6 $phpmailer->SMTPAuth = true;
7 $phpmailer->AuthType = "PLAIN";
8 $phpmailer->Username = "smtp_9";
9 $phpmailer->Password = "YOUR_PASSWORD";
10 $phpmailer->From = "hello@mail.example.com";
11 });

Set X-Capsule-Unique-Args on the mail if you want those keys on delivery webhooks.

About

PostShiba is the transactional email platform that powers Bento behind the scenes. You can build your own products, like Bento, on top of it.

Product

© 2026 PostShiba by Backpack Internet Pty. Ltd. All rights reserved.

The same policies that govern Bento are applied to PostShiba Privacy | Terms | Security