Send email through command prompt

Sorry in different language:

—-> s.itb.ac.id = intended mail server that we intend to send email

—-> 25 = SMTP port

This is the syntax that I tried:

220 BLU437-SMTP35.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.92
00.16384 ready at Fri, 15 Aug 2014 03:57:02 -0700
MAIL FROM: davy@indonusa.net.id
530 5.7.0 Must issue a STARTTLS command first
STARTTLS
503 5.5.2 Send hello first
MAIL FROM: davy@indonusa.net.id
530 5.7.0 Must issue a STARTTLS command first
hello smtp.live.com
530 5.7.0 Must issue a STARTTLS command first
help
530 5.7.0 Must issue a STARTTLS command first
STARTTLS
503 5.5.2 Send hello first
helo smtp.live.com
530 5.7.0 Must issue a STARTTLS command first
STARTTLS
503 5.5.2 Send hello first
helo smtp.live.com
250 BLU437-SMTP35.smtp.hotmail.com Hello [202.93.141.98]
MAIL FROM: davy@indonusa.net.id
530 5.7.0 Must issue a STARTTLS command first
STARTTLS MAIL FROM: davy@indonusa.net.id
220 2.0.0 SMTP server ready
START
C:\Users\Toshiba>
Connection to host lost.

Lots of errors.

Please help.

Thanks before.

Am pretty sure that Microsoft will not allow you to do this via telnet. Be careful not to be considered trying to hack their servers.

It has nothing to do with spamming. I only try to test if my mail server is available.

If I can send email through command prompt then, I should be able to receive automatic email from the mail server.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.