UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
September
Su M Tu W Th F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Sponsored Links
Latest Postings
Doom 3
by Cyrez
09/11/14 08:58 PM
The History Thread...
by Cyrez
09/11/14 08:56 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666
08/22/14 09:21 AM
Latest Reviews
Topic Options
Rate This Topic
#17583 - 12/16/03 09:05 PM Mail telnet / VB
4c3 Offline
Junior Member

Registered: 06/02/03
Posts: 6
Loc: Belgium
I know how to mail with telnet (=easy) and I know how to open telnet with VB (via .bat). The problem is I can't put my telnet commands that are in the VB source into the telnet session. Some ideas?

Top
Sponsored Links
      
#17584 - 12/16/03 09:22 PM Re: Mail telnet / VB
? Offline
UGN Member

Registered: 04/30/02
Posts: 135
I'm not sure how familiar you are with telnet but htere is a lot of control code that is sent by the client to the server that has nothing to do with the commands. You can't just send commands without the control code. You should either read the telnet IRFC or try to find a telnet API for VB which would simplify a telnet session.

But I think you just want to call the telnet program and inject commands into it, rite? I'm not really too sure about that since I mostly work with Perl, which would be the perfect language for this.
_________________________
I KNOW EVERYTHING. ASK ME.

Top
#17585 - 12/16/03 09:51 PM Re: Mail telnet / VB
Mornse Offline
Member

Registered: 03/03/02
Posts: 185
Loc: Vancouver
Well, seems to me like you want to send emails via VB right? Even if you don't, this'll still work. Telnet is basically a program that you use to connect to an open port and it just passes raw data back and forth, well, why not just do this in VB? Instead of opening up telnet and sending commands through that, just connect, using winsock, to the server you want to connect to and then send the raw data over the connect urself with VB. You can do anything that you can do in Telnet that way, with any server, because you can just send data like telnet does in VB, so do that, it's faster, more efficient and easier, so read about winsock and any protocols you want to use.
_________________________
Cha want some w***up?

http://www.dopeskill.com

Top
#17586 - 12/23/03 05:38 AM Re: Mail telnet / VB
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
Go with Mornse's plan. As for you mr question mark damienak man... telnet control codes only apply to telnet servers. Not mail servers.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top
#17587 - 04/30/04 08:40 AM Re: Mail telnet / VB
n0mel Offline
Junior Member

Registered: 04/30/04
Posts: 34
Loc: ...
you can use the telnet protocol with the winsock component. use that. i needed email support in one of my programs, so, I just hard coded it there's plenty of info on the net on how to use winsock compenent in vb.

Top

Featured Member
Registered: 08/22/14
Posts: 1
Forum Stats
2148 Members
46 Forums
34395 Topics
69564 Posts

Max Online: 1567 @ 04/25/10 02:20 AM
Top Posters
UGN Security 27557
Gremelin 7192
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
Gecko666, defghi795767, Devo60, ali, lavos
2147 Registered Users
Who's Online
0 registered (), 110 Guests and 159 Spiders online.
Key: Admin, Global Mod, Mod
Latest News


Donate
  Get Firefox!
Get FireFox!