Sending Email

There are multiple ways by which an email can be sent through an SMTP server as long as some of the details about the server and the account are available.

An alternate method to using telnet to send an email, Kali comes builtin with a command that is capable of taking all necessary inputs as one command to send an email.

sudo swaks -t jane@doe.com --from john@doe.com --attach @resume.doc --server 192.168.241.189 --body @body.txt --header "Subject: Staging Script" --suppress-data -ap

Last updated