Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  styleseye : (24 April 2014 - 02:29 PM) Https://www.facebook.com/l.php?u=Https://www.youtube.com/watch?v=Geh4Rs-Boh8&feature=Youtu.be&h=Taqexxpem
@  styleseye : (24 April 2014 - 02:28 PM) Https://www.facebook.com/l.php?u=Https://www.youtube.com/watch?v=Geh4Rs-Boh8&feature=Youtu.be&h=Taqexxpem
@  yordan : (21 April 2014 - 09:11 PM) Hey, Ritesh, Did You Hear Me?
@  yordan : (14 April 2014 - 05:28 PM) By The Way, This Could Be An Interesting Subject For A Topic, What About Posting This Question? Let's See If Other People Have The Same Feeling Concerning Bootlists!
@  yordan : (13 April 2014 - 09:36 AM) Boot Order : Cd, [Usb,] Hard Drive :D
@  yordan : (11 April 2014 - 07:23 PM) I Simply Let The Bios Do That
@  Ritesh : (11 April 2014 - 10:23 AM) Is It Possible To Launch Fedora Live Cd Or Installation Disk From Hard Drive On Windows Platform Using Grub Mbr File.
@  Ritesh : (11 April 2014 - 10:21 AM) No U Are Not.. Btw.. I Have Question For You.
@  yordan : (10 April 2014 - 08:02 AM) You Are Partially Right.
I Was Not.
Nevertheless, I Am Again :)
@  Ritesh : (09 April 2014 - 07:33 PM) :P
@  Ritesh : (09 April 2014 - 07:33 PM) I Think U R Not..
@  yordan : (09 April 2014 - 09:28 AM) I'm The Master Of The Shoutbox!
@  yordan : (05 April 2014 - 10:32 PM) He-He
@  Ritesh : (04 April 2014 - 06:59 PM) Ha Ha Ha ....
@  yordan : (04 April 2014 - 11:15 AM) Welcome Back, Starscream!
@  yordan : (03 April 2014 - 02:31 PM) And I Hope That He Will Come Back Soon :)
@  yordan : (01 April 2014 - 02:53 PM) Nice, Ritesh Came, I'm Not Home Alone Today.
@  Ritesh : (01 April 2014 - 08:51 AM) Oh!!! Poor Dear Yordan..
@  yordan : (31 March 2014 - 10:02 AM) I'm A Poor Lonesome Cow-Boy
@  yordan : (27 March 2014 - 02:22 PM) He Is Unpatient Due To His Patients!

- - - - -

Sending Mail Via Telnet mail commands for telnet


3 replies to this topic

#1 Guest_mastercomputers_*

Guest_mastercomputers_*
  • Guests

Posted 10 March 2005 - 07:10 AM

This is just the basics of sending email using telnet. First you'll need to find a SMTP server that you can telnet into, me, I'm using my localhost server for this. So here's the commands prefixed with a $:

$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1; Thu 10 Mar 2005 20:02:09 +1300
$ HELO localhost.localdomain
250 localhost.localdomain Hello localdomain [127.0.0.1], pleased to meet you
$ MAIL FROM: from_who@domain.com
250 2.1.0 from_who@domain.com... Sender ok
$RCPT TO: to_who@domain.com
250 2.1.5 to_who@domain.com... Recipient ok
$ DATA
354 Enter mail, end with "." on a line by itself
$ Subject: subject goes here
$
$ Message goes here and ends with a dot
$ .
250 2.0.0 <some random message ID> Message accepted for delivery
$ QUIT
221 2.0.0 localhost.localdomain closing connection
Connection closed by foreign host.

Remember the $ signs are not included and just mark when the commands you enter happen.
The other shown messages, are the usual OK messages produced by the SMTP to say everything is ok, and going correctly.

You can also use this method, by using PHP sockets, so you can connect to an SMTP server, pass the commands, and hopefully the mail will be checked. PHP Mail function maybe easier to use though.

Subject: needs two enters after it, to be valid else it won't work. e.g. Subject: this subject\n\n

Once you've finished with the DATA you end it with a single dot on a line by itself and that's it, quit the connection and it'll be sent.

Cheers,


MC

#2 jipman

jipman

    Super Member

  • Members
  • 733 posts

Posted 10 March 2005 - 03:19 PM

Dude, if you can find a smtp server which allows you to do that, you're good, because almost every server has disabled that sort of thing.

#3 miCRoSCoPiC^eaRthLinG

miCRoSCoPiC^eaRthLinG

    PsYcheDeLiC dR3aMeR

  • Members
  • 2,248 posts
  • Gender:Male
  • Location:Bangkok, Thailand
  • Interests:Photography, Magic Tricks, Numismatics & Philately to some extent, Being a nuisance in general (that's my favourite)
  • myCENTs:NEGATIVE[-21.50]

Posted 11 March 2005 - 07:53 AM

Not really.. you can mess around with your ISP's SMTP server - it will work for sure if your ISP gives out SMTP access to all its users. In fact as long as you connect to the SMTP server through your ISP's connection - there's a major fun thing that you can do: Set your originating email address to WHATEVER YOU WANT. i.e., you can have a lot of fun sending an email to your friend from say: me@whitehouse.gov ... lol.. i mean ANY address you care to type in after that MAIL FROM: <address> part.

When I'd learnt this trick I used to send mails to my friends stating their own address as the originating address. That way I convinced quite a few of them that I'd actually hacked into their mailbox and sent a mail to them from their own account. Lol.... :D :D ;) It sounds real stupid now (this was almost 10 yrs back) - but it DID manage to fool quite an impressive bunch :P

#4 jipman

jipman

    Super Member

  • Members
  • 733 posts

Posted 11 March 2005 - 12:05 PM

;).

If i want to spoof around i usually get myself an smtp account and use my own built mail spoofer with it :D.

What age are you anyway M^E ?

I'm 17 :D



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users