Does anyone know how to sent email to myself?
I am trying to generate TCP traffic on port 25.
telnet (to test out smtp protocol)
If you are trying to send email to yourself on the email server
In this case you properly do not need to worry about correct HELO or login stuff, as email server generally will accept anything from localhost.
If you are trying to send email to yourself to an email server
In this case depends on the configuration, the email server may reject your email if your box is not an email server(no mx record or spf record, etc).
Then follow this Tutorial link
Do you need to test if an smtp server works or to send some email by a shell script?
SWAKS - Swiss Army Knife for SMTP