Sometimes it can be usefull to test that email is working quickly, if you have a problem with microsoft exchange this can be a good way of testing port 25 communications.Most servers do not have an email client on them so we need to do it from command line.
Here is a step by step guide to sending an email in telnet
- First open the command prompt
( Start > run > cmd)
- Then type:
telnet mymailserver 25“mymailserver” is the name of the mail server. This can either be the name of the server (netbios) or its fully qualified DNS name. The number 25 is the port number that telnet is to connect on, smtpSMTP or Simple Mail Transfer ProtocolSMTP or Simple Mail Transfer Protocol is a protocol used to send Email over the internet.SMTP runs on port 25 and it its most basic form uses three command/reply sequences.MAIL, RCPT and Data.So an email client sends an email to another client by connecting to the SMTP server of a company which then sends the email to another companies SMTP server which inturn sends the email to the local client. is a protocol used to send Email over the internet.SMTP runs on port 25 and it its most basic form uses three command/reply sequences.MAIL, RCPT and Data.So an email client sends an email to another client by connecting to the SMTP server of a company which then sends the email to another companies SMTP server which inturn sends the email to the local client. users port 25.
- Then enter:
HELO .
- Then type:
MAIL FROM: anemailaddress “anemailaddress” is your email addressAn email address is an address that is attached to a mailbox on an email system. An email address consists of two parts, the local and the domain. So allen.whiite is the local part and techieshelp.com is the domain part. "Allen.White@Techieshelp.com" The local part can be anything you choose, however the domain part must always be what the email domain is set to. In-between the local and domain pats is an @ sign. A record called an MX record holds information where the email domain is. So if you send an email to allen.white@techieshelp.com the MX record tells the email where the mail domain techieshelp is. Once the email hits the mail server the local part of the email address kicks in. The mail box with the part "allen.white" then receives the email. For more in-depth information visit http://en.wikipedia.org/wiki/Email_address#Overview
. This is the address that the email will be sent from. You will see a response starting with “250″ and ending with “OK”.
- Then type:
RCPT TO: recipientmail“recipientmail” is the email addressAn email address is an address that is attached to a mailbox on an email system. An email address consists of two parts, the local and the domain. So allen.whiite is the local part and techieshelp.com is the domain part. "Allen.White@Techieshelp.com" The local part can be anything you choose, however the domain part must always be what the email domain is set to. In-between the local and domain pats is an @ sign. A record called an MX record holds information where the email domain is. So if you send an email to allen.white@techieshelp.com the MX record tells the email where the mail domain techieshelp is. Once the email hits the mail server the local part of the email address kicks in. The mail box with the part "allen.white" then receives the email. For more in-depth information visit http://en.wikipedia.org/wiki/Email_address#Overview
that you will send an email to. You should get a response starting with “250″ and ending with “OK”.
- Then type
DATA then press return and then enter yur contentThis is the content of the email
- To show the end of your message enter a full stop (“.”) on its own on a line followed by pressing Enter.
- To close the telnet session enter:
QUIT
Related posts:
- How To Transfer FSMO Roles, Graphical And Command Line
- Forward Exchange 2007 or 2010 email to external account
- Exchange 2010/2007 Send on Behalf , Send as.
- Create Send connector in Exchange 2010
- How To Backup And Restore Your Email To PST