How to send email from command line?

1. telnet abc.com(useful mail server) 25

2. helo xyz.com(your domain)

3. mail from:your@email.domain

4. rcpt to:destination@email.address

5. data

6. Type your message

7. .(type a period and hit enter)

That’s all!