1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-20 19:17:01 +00:00

Allow cmdline opts on swaks run-tests script

This commit is contained in:
James Hillyerd
2012-11-07 13:55:35 -08:00
parent a246be6e5f
commit e2cc4fc8a1

View File

@@ -4,10 +4,10 @@ export SWAKS_OPT_server="127.0.0.1:2500"
export SWAKS_OPT_to="swaks@inbucket.local"
# Basic test
swaks --h-Subject: "Swaks Plain Text" --body text.txt
swaks $* --h-Subject: "Swaks Plain Text" --body text.txt
# HTML test
swaks --h-Subject: "Swaks HTML" --data html.raw
swaks $* --h-Subject: "Swaks HTML" --data html.raw
# Attachment test
swaks --h-Subject: "Swaks Attachment" --attach-type image/png --attach favicon.png --body text.txt
swaks $* --h-Subject: "Swaks Attachment" --attach-type image/png --attach favicon.png --body text.txt