Linux Scroll

Just another WordPress.com site

Send email via telnet

In Terminal:

$ telnet mail.domain.com 25

Connected to mail.domain.com.

Escape character is '^]'.
220 emg-ax02.localdns.com Axigen ESMTP ready
ehlo mail2.example.com
mail from: yourname@domain.com
rcpt to: receipient@domain.com
data
Subject: Testing
Your test.
.
quit

Note: 25 is SMTP port, you many change to 587 if 25 is not allow.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: