Butcher <stupid_ass@hotmail.com> writes: : SENDING A BASIC EMAIL VIA TELNET (by your friend Butcher) : ***********************************************: First, go to run, then type telnet mail.mailserver.com 25 : (the 25 after means you want to telnet to port 25 which is the SMTP service : port most of the time.) : it will prompt you with something like this:
: 220 mail.rdc2.bc.home.com ESMTP server (InterMail v4.01.01.00 201-229-111) : ready : Thu, 27 Jan 2000 17:08:25 -0800
: This is an ESMTP server, but we will get into that later. : So first i type (usually this is your username with the mailserver but it : doesn't really matter on most mail servers matter):
: helo there
: and get the response: : 250 mail.rdc2.bc.home.com
: then i type(my e-mail address): : mail from: santa@northpole.com
: and get the response: : 250 Sender <santa@northpole.com> Ok
: then i type(recipient of the mail): : rcpt to: stupid_ass@hotmail.com
: and get: : 250 Recipient <stupid_ass@hotmail.com> Ok
: So now i want to send the message so i type:
: data
: and it responds with: : 354 Ok Send data ending with <CRLF>.<CRLF>
: What that means is that i should type my message and when it is done, : press enter once, followed by a period, and then press enter again. (CRLF) : is carriage return-line feed (same thing as enter) So here is my message : followed by <CRLF>.<CRLF>
: hi there
: and i get the response:
: 250 Message received: 20000128010915.GCIW15971.mail.rdc2.bc.home.com@there
: RECIEVING MAIL VIA TELNET : ************************************* : +OK InterMail POP3 server ready.
: I have to give my username(email address without the @domain.com usually):
: USER theking
: +OK please send PASS command
: My Password comes next (quite obvious by the prompt):
: PASS iamtheking
: and it says:
: +OK theking is welcome here
: Yay, they like me, next i wanna check out how many messages i have and how : much space they are taking up: : stat
: So it displays my mailbox stats:
: +OK 1 1733
: oh i have 1 message cool, someone likes me, the list command usually will : give you a list of all mails but since i only have one right now it is : pretty much the same as the stat command:
: list
: +OK 1 messages : 1 1733
: Ok lets view it:
: retr 1
: Now it gives me a big listing with all the headers and the full body of the : email (i wont show it here, it takes too much room)
: Ok i read it, lets get rid of it: : dele 1
: +OK
: I'll let you guess what the next command does:
: QUIT
: That should be enough to get you going.