SMTP Commands to test with
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
SMTP Commands to test with

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Connectivity
Author Message
Michael E. McAteer
Guest





Posted: Fri Jan 21, 2005 3:43 am    Post subject: SMTP Commands to test with Reply with quote

I'm having trouble sending mail to one domain and what to test SMTP
connections to their server. Can someone give me a list of commands to test
communications with? I seem to rember telnet to ipaddress:25 but forget what
to do from there.

Thanks,
--
Michael E. McAteer
Network Engineer
MCSA, MCSE, CNA, A+

Back to top
Jim Schwartz
Guest





Posted: Fri Jan 21, 2005 6:49 am    Post subject: Re: SMTP Commands to test with Reply with quote

nslookup
set q=mx
foo.com

You'll get a response of:
foo.com MX Preference = 10, mail exchanger = mail.foo.com

mail.foo.com = 127.0.0.1

telnet 127.0.0.1 25
220 mail.foo.com ready
ehlo yourdomain.com
250
mail from:<you@yourdomain.com>
250 sender ok
rcpt to:<postmaster@foo.com>
250 recipient ok
data
354 enter mail, end with "." on a line by itself
type what ever you want here..
..

250 ok
quit
221 closing connection

Done.




"Michael E. McAteer" <MichaelEMcAteer@discussions.microsoft.com> wrote in
message news:6A3C9813-297C-407D-88B2-66393D47C22B@microsoft.com...
Quote:
I'm having trouble sending mail to one domain and what to test SMTP
connections to their server. Can someone give me a list of commands to
test
communications with? I seem to rember telnet to ipaddress:25 but forget
what
to do from there.

Thanks,
--
Michael E. McAteer
Network Engineer
MCSA, MCSE, CNA, A+
Back to top
Michael E. McAteer
Guest





Posted: Fri Jan 21, 2005 6:57 am    Post subject: Re: SMTP Commands to test with Reply with quote

Thanks again Jim

"Jim Schwartz" wrote:

Quote:
nslookup
set q=mx
foo.com

You'll get a response of:
foo.com MX Preference = 10, mail exchanger = mail.foo.com

mail.foo.com = 127.0.0.1

telnet 127.0.0.1 25
220 mail.foo.com ready
ehlo yourdomain.com
250
mail from:<you@yourdomain.com
250 sender ok
rcpt to:<postmaster@foo.com
250 recipient ok
data
354 enter mail, end with "." on a line by itself
type what ever you want here..
..

250 ok
quit
221 closing connection

Done.




"Michael E. McAteer" <MichaelEMcAteer@discussions.microsoft.com> wrote in
message news:6A3C9813-297C-407D-88B2-66393D47C22B@microsoft.com...
I'm having trouble sending mail to one domain and what to test SMTP
connections to their server. Can someone give me a list of commands to
test
communications with? I seem to rember telnet to ipaddress:25 but forget
what
to do from there.

Thanks,
--
Michael E. McAteer
Network Engineer
MCSA, MCSE, CNA, A+




Back to top
supersizeme
Guest





Posted: Fri Jan 21, 2005 7:19 am    Post subject: Re: SMTP Commands to test with Reply with quote

To send a test email to someone:

1. Open a command prompt
2. Type in the servers ip address, followed by a space, then "25" I.e.
192.168.1.1 25
3. type these commands:
a. HELO yourname.yourcompany.com <press enter>
b. MAIL FROM:yourname@yourcompany.com <press enter>
c. RCPT TO:recipentsname@recipentscompany.com <press enter>
d. DATA <press enter>
e. Subject: [type the subject line] <press enter>
f. <press enter again. This signifies the start of the body of the
message.>
g. Type your message <press enter>
f. Type a period (as in a ".") then, <press enter>. This signifes teh
end of the message.

Alternatively see this KB:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;153119

"Michael E. McAteer" <MichaelEMcAteer@discussions.microsoft.com> wrote in
message news:6A3C9813-297C-407D-88B2-66393D47C22B@microsoft.com...
Quote:
I'm having trouble sending mail to one domain and what to test SMTP
connections to their server. Can someone give me a list of commands to
test
communications with? I seem to rember telnet to ipaddress:25 but forget
what
to do from there.

Thanks,
--
Michael E. McAteer
Network Engineer
MCSA, MCSE, CNA, A+
Back to top
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Connectivity All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
Contact Us
New Topics Powered by phpBB