Skip to content

Instantly share code, notes, and snippets.

@sanusart
Created April 15, 2015 14:51
Show Gist options
  • Select an option

  • Save sanusart/1a8baa2e61c4382279d6 to your computer and use it in GitHub Desktop.

Select an option

Save sanusart/1a8baa2e61c4382279d6 to your computer and use it in GitHub Desktop.
Test mail server with telnet #mail #telnet
telnet mail.server.com 25
EHLO mail.server.com
AUTH LOGIN
<base64-encoded-username>
<base64-encoded-password>
MAIL FROM: <[email protected]>
RCPT TO: <[email protected]>
DATA
From: <[email protected]>
To: <[email protected]>
Subject: Hello dear user
This is the mail body here.
.
# Dot ends the session and put's the mail into mail que
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment