Create a key to copy examples filled with your team.

Send emails with SMTP

STARTTLS on port 587 with AUTH PLAIN.

Submit with STARTTLS on port 587. Use AUTH PLAIN. AUTH LOGIN does not work. The username looks like smtp_…. The REST API returns the password when it creates the credential; authorized dashboard users can reveal the encrypted value again. MAIL FROM must be a verified domain.

Set X-Capsule-Unique-Args to a JSON object. We strip it from the sent mail and put those keys on every delivery webhook. X-SMTPAPI unique_args works the same way.

send.sh
1 swaks --server smtp.postshiba.com:587 --tls \
2 --auth PLAIN --auth-user smtp_9 --auth-password YOUR_PASSWORD \
3 --from hello@mail.example.com --to you@example.com \
4 --header "Subject: PostShiba test" \
5 --header 'X-Capsule-Unique-Args: {"campaign_id":"cmp_123","site":"docs"}' \
6 --body "hello from PostShiba"

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.

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

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