Trace:
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision |
kb:smtp_testing [2015/12/09 19:04] – created yehuda | kb:smtp_testing [2022/01/03 16:03] (current) – external edit 127.0.0.1 |
---|
====== SMTP testing ====== | ====== SMTP testing ====== |
<code bash> | <code bash> |
echo "This is the message body" | swaks --to "yehuda@korotkin.co.il" --from "test@korotkin.co.il" --server smtp.server.com --h-Subject testmail | swaks --to "yehuda@korotkin.co.il" --from "test@korotkin.co.il" --server XX.XXX.XX.xXX --h-From "Test Korotkin <test@korotkin.co.il>" --h-Subject "This is Test Mail" --h-List-Unsubscribe '<mailto:test@korotkin.co.il?subject=unsubscribe_test>' --h-Precedence bulk --body ~/tmp/email.html --add-header "MIME-Version: 1.0" --add-header "Content-Type: text/html" |
</code> | </code> |
Back to top