Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I wanted to send a mail by telnetting through smtp server "telnet smtp_Server 25" and want to send mail. How is it possible..

Also, please share something about CISCO products and what kind of software they use in their products. If i wanted to gain some insight knowledge, where should go to..

Thanks..

share|improve this question

closed as off-topic by Ward, kasperd, masegaloeh, 84104, Jenny D Apr 19 at 18:46

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Do not put two questions into one. Post two separate questions please. Also, it helps to be specific. "share something about CISCO" is unlikely to get meaningful responses. –  sleske Aug 27 '09 at 17:38
2  
This is an awful idea for a couple of reasons. One: most public servers (not owned by you) are now locked down to prevent spam relaying. Two: this is probably illegal (due to CAN-SPAM act); I could be wrong, but I wouldn't discount the possibility. –  Garrett Aug 27 '09 at 17:45

4 Answers 4

That looks like two distinct questions...

SMTP is a fairly simple protocol (at least for just sending an email)... once you open a telnet connection on the right port you just need to issue the commands:

From Wikipedia: (commands you issue are prefixed with "C:" the servers responses with "S:")

S: 220 smtp.example.com ESMTP Postfix
C: HELO relay.example.org
S: 250 Hello relay.example.org, I am glad to meet you
C: MAIL FROM:<bob@example.org>
S: 250 Ok
C: RCPT TO:<alice@example.com>
S: 250 Ok
C: RCPT TO:<theboss@example.com>
S: 250 Ok
C: DATA
S: 354 End data with <CR><LF>.<CR><LF>
C: From: "Bob Example" <bob@example.org>
C: To: Alice Example <alice@example.com>
C: Cc: theboss@example.com
C: Date: Tue, 15 Jan 2008 16:02:43 -0500
C: Subject: Test message
C:
C: Hello Alice.
C: This is a test message with 5 header fields and 4 lines in the message body.
C: Your friend,
C: Bob
C: .
S: 250 Ok: queued as 12345
C: QUIT
S: 221 Bye

Good luck with Cisco... you should ask it a as a separate questions or explain how it's related.

share|improve this answer
    
The steps i know, but i dont know the name of smtp server, which i can use for sending email.. Any free smtp server name for testing this protocol.. –  RBA Aug 27 '09 at 16:46
1  
smtp.gmail.com PORT 25 Why do you need to "test" SMTP? It works. –  beggs Aug 27 '09 at 16:48
    
because I have tried smtp.gmail.com.. But it doesn't works.. must issue a starttls command first,, and when i use,, the connection is automatically closed.. what is this,, and how to resolve this.. –  RBA Aug 27 '09 at 16:53
    
You can't use gmail as it forces encryption. Why do you even need this? –  Adam Gibbins Aug 27 '09 at 16:58
    
sIR, i wANTED TO DO IT THRU TELNET.. FOR THAT I NEED TO HAVE FREE SMTP SERVER.. iS THERE ANY?? –  RBA Aug 27 '09 at 17:00

You're not likely to find an SMTP server that will let you telnet in since that would provide a potential wide-open door for spammers.

share|improve this answer
    
Unless of course that server is provided by your ISP –  theotherreceive Aug 27 '09 at 17:02

you can easily make you own SMTP server on almost any nix system, and it should work provided you don't have any firewall rules in the way

share|improve this answer
    
How can i make my own SMTP Server,, Any website link?? –  RBA Aug 27 '09 at 22:45
    
ask on ubuntu forums, they have alot of good tutorials for this kind of stuff –  Jimsmithkka Aug 27 '09 at 23:28

Your ISP usually provides you with one you can access, if not - at least they'll have a relay you can authenticate and send e-mail through from an smtp server you set up yourself.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.