Create a key to copy examples filled with your team.
AUTH PLAIN, not AUTH LOGIN
Port 587 after STARTTLS. Kumo does not speak AUTH LOGIN.
SMTP is STARTTLS on port 587 with AUTH PLAIN only. AUTH LOGIN fails. Kumo registers smtp_server_auth_plain and does not speak LOGIN.
HTTP inject uses HTTP Basic with the same username and password. POST {http_endpoint}/api/inject/v1.
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
--body "hello from PostShiba"
inject.sh
1
curl -sS -u 'smtp_9:YOUR_PASSWORD' \
2
-H 'Content-Type: application/json' \
3
-d '{"envelope_sender":"hello@mail.example.com","content":"From: hello@mail.example.com\nSubject: PostShiba test\n\nhello from PostShiba","recipients":[{"email":"you@example.com"}]}' \
4
https://inject.postshiba.com/api/inject/v1