Comment on page
a login <username>@<domain> <password>
a LIST "" "*"
a SELECT <mailboxname>
a UID SEARCH ALL`
a UID FETCH <ID> (BODY[1.1])
BODY.PEEK[]
UID FETCH <uid> (BODY[1])
openssl s_client -connect <ip>:<port> -crlf
sendEmail -t <rcptAddr> -f <senderAddr> -s <mailSrvAddr> -u "Some Subject" -m "Some Content"
Append Files with "-a <filename>", example of html mail with appended file:
sendemail -s <target>:25 -f [email protected] -t [email protected] -o message-content-type=html -m "<html><head><title>Issue</title></head><body></body></html>" -a important.docx
cat emails.txt | while read u ; do swaks --to $u --from <> --header "Subject: <>" --body "<>" --server <> ; done
We can also attach files with swaks using "--attach".
Last modified 9mo ago