Requirements
[] Swaks (google it)
[] Windows/linux device
(sudo) apt install swaks (linux)
swaks.exe (windows)
Internal usage
swaks --to [email protected] --from "[email protected]" --header "Subject: Test mail" --body "This is a test mail" --server aspmx.l.google.com (or equivalent) --port 25 (or equivalent)
External usage
swaks --to [email protected] --from "[email protected]" --header "Subject: Test mail" --body "This is a test mail" --server smtp.yoursmtp.com (or equivalent) --port 25 (or equivalent)
Real world example
I sent a few emails as a custom user which didn't exist as seen below
[] Swaks (google it)
[] Windows/linux device
(sudo) apt install swaks (linux)
swaks.exe (windows)
Internal usage
swaks --to [email protected] --from "[email protected]" --header "Subject: Test mail" --body "This is a test mail" --server aspmx.l.google.com (or equivalent) --port 25 (or equivalent)
External usage
swaks --to [email protected] --from "[email protected]" --header "Subject: Test mail" --body "This is a test mail" --server smtp.yoursmtp.com (or equivalent) --port 25 (or equivalent)
Real world example
I sent a few emails as a custom user which didn't exist as seen below



