smtp via telnet howto

Any other programming language that is not covered in the Web Scripting category.

smtp via telnet howto

Postby crack0 on Wed Mar 29, 2006 10:27 pm

#############################################################################################################################

Smtp protocol means ( simple mail transfer protocol )

I will explain this trought example :


1. Find the server wich supports smtp protocol ( your provider probably has it )

Code: Select all
smtp.sezampro.yu


2. Telnet to server like this :

Code: Select all
open smtp.sezampro.yu 25

|
|------ this ( 25 ) means that smtp port on server is 25 this is most common for many servers

3. now when you are connected to the server do this

helo server_you_are_connected_to (example sezampro)
|
|------- this indentifys you to their sever ( you must do this to send mail )

Code: Select all
mail from:[email protected]

|
|------- sets mailer ( you )

Code: Select all
rcpt to:[email protected]

|
|
|------- sets recipient ( reciver of the message )

Code: Select all
data


now you write you message...

when you finish writing you type "." without "" or ctrl + C

and exit the server by typing

Code: Select all
quit



that should be it Smile

There are some extra commands like

Code: Select all
    EHLO    RCPT    RSET    NOOP    HELP
EXPN    VERB    ETRN    DSN     AUTH    VRFY



Try every one of these it is the best way to learn Wink
Last edited by crack0 on Mon Jul 24, 2006 11:01 pm, edited 1 time in total.
Remember happiness can be found even in the darkest of times who only remembers to turn on the light
crack0
Regular
Regular
 
Posts: 111
Joined: Sun Dec 18, 2005 7:48 pm
Location: serbia

Postby cons00m on Fri Mar 31, 2006 4:52 am

Good tutorial, not to knock it but if you want to learn more about SMTP read the RFC:

http://www.faqs.org/rfcs/rfc821.html

~c
cons00m
Contributer
Contributer
 
Posts: 34
Joined: Thu Mar 23, 2006 12:36 am

Postby crack0 on Fri Mar 31, 2006 12:12 pm

thanks cons00m for link it is usefull Smile
Remember happiness can be found even in the darkest of times who only remembers to turn on the light
crack0
Regular
Regular
 
Posts: 111
Joined: Sun Dec 18, 2005 7:48 pm
Location: serbia

Postby pumpas on Thu Apr 13, 2006 8:20 am

Dude!, very interesting Wink!
pumpas
Newbie
Newbie
 
Posts: 16
Joined: Thu Apr 13, 2006 7:08 am

Postby crack0 on Tue Apr 18, 2006 5:12 pm

thanks pumpas
Remember happiness can be found even in the darkest of times who only remembers to turn on the light
crack0
Regular
Regular
 
Posts: 111
Joined: Sun Dec 18, 2005 7:48 pm
Location: serbia

Postby pcweirdo on Wed Apr 26, 2006 11:46 am

I like how you used code blocks to show exactly what to do. Excellent!

-pcweirdo.
I love logic, therefore a polar bear is gay and I am the President. Or I'm thinking too much. I love this website.
pcweirdo
Contributer
Contributer
 
Posts: 58
Joined: Mon Aug 29, 2005 11:26 pm
Location: Melbourne, Australia

Postby crack0 on Tue Jun 06, 2006 5:25 pm

Thanks Smile, I know it is interesing that's why I wrote it Wink
Remember happiness can be found even in the darkest of times who only remembers to turn on the light
crack0
Regular
Regular
 
Posts: 111
Joined: Sun Dec 18, 2005 7:48 pm
Location: serbia

Postby Asbestos on Tue Jun 06, 2006 9:48 pm

crack0 wrote:
Code: Select all
    EHLO    RCPT    RSET    NOOP    HELP
EXPN    VERB    ETRN    DSN     AUTH    VRFY


Try every one of these it is the best way to learn Wink


VRFY and EXPN are usually commands which are disallowed on most smtp relay servers. So if you really want to learn about each command, it's best you try it with your own server.
Asbestos
Contributer
Contributer
 
Posts: 38
Joined: Mon May 22, 2006 1:43 am
Location: Brisbane, Australia

Postby jinjie on Mon Jun 26, 2006 6:31 pm

Just wondering is there any light smtp server out there available for download? I would much prefer opensource software so that I can study the code. Please PM me if any people here got any recommendations! Smile
Asbestos wrote:
crack0 wrote:
Code: Select all
    EHLO    RCPT    RSET    NOOP    HELP
EXPN    VERB    ETRN    DSN     AUTH    VRFY


Try every one of these it is the best way to learn Wink


VRFY and EXPN are usually commands which are disallowed on most smtp relay servers. So if you really want to learn about each command, it's best you try it with your own server.
jinjie
Newbie
Newbie
 
Posts: 5
Joined: Mon Jun 26, 2006 6:15 pm

Postby crack0 on Sun Jul 16, 2006 8:29 am

check out this
Remember happiness can be found even in the darkest of times who only remembers to turn on the light
crack0
Regular
Regular
 
Posts: 111
Joined: Sun Dec 18, 2005 7:48 pm
Location: serbia

Postby tasosos on Sun Jul 16, 2006 10:09 am

one little error: mail from:[email protected] and not form but a very good tutorial Smile
Image
tasosos
Contributer
Contributer
 
Posts: 50
Joined: Sun May 28, 2006 10:39 am
Location: Greece-Ioannina

Postby crack0 on Mon Jul 24, 2006 11:04 pm

It is correct now, thanks for that tasosos, I was in hurry so I misstyped "from" Smile
Remember happiness can be found even in the darkest of times who only remembers to turn on the light
crack0
Regular
Regular
 
Posts: 111
Joined: Sun Dec 18, 2005 7:48 pm
Location: serbia

Postby striker on Tue Aug 01, 2006 12:45 pm

wow thank you i was searching this for a time..
striker
Newbie
Newbie
 
Posts: 4
Joined: Tue Aug 01, 2006 12:36 pm

Postby Anto on Sun Aug 13, 2006 9:51 am

useful things ........

very intresting

thank you Smile
Anto
Newbie
Newbie
 
Posts: 10
Joined: Tue May 02, 2006 1:07 pm

Postby lukem_95 on Tue Sep 05, 2006 1:30 pm

yer you can use this on hotmail or another server to spoof email your friends, for example put [email protected] as the sender.
lukem_95
Newbie
Newbie
 
Posts: 15
Joined: Tue Sep 05, 2006 1:18 pm

Next

Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron