mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 01:57:02 +00:00
Add a script to generate a few test emails
This commit is contained in:
13
swaks-tests/run-tests.sh
Executable file
13
swaks-tests/run-tests.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
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
|
||||
|
||||
# HTML test
|
||||
swaks --h-Subject: "Swaks HTML" --data html.raw
|
||||
|
||||
# Attachment test
|
||||
swaks --h-Subject: "Swaks Attachment" --attach-type image/png --attach favicon.png
|
||||
Reference in New Issue
Block a user