Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#17583 - 12/17/03 05:05 AM Mail telnet / VB  
Joined: Jun 2003
Posts: 6
4c3 Offline
Junior Member
4c3  Offline
Junior Member

Joined: Jun 2003
Posts: 6
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?

Sponsored Links
#17584 - 12/17/03 05:22 AM Re: Mail telnet / VB  
Joined: Apr 2002
Posts: 135
? Offline
UGN Member
?  Offline
UGN Member

Joined: Apr 2002
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.
#17585 - 12/17/03 05:51 AM Re: Mail telnet / VB  
Joined: Mar 2002
Posts: 185
Mornse Offline
Member
Mornse  Offline
Member

Joined: Mar 2002
Posts: 185
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
#17586 - 12/23/03 01:38 PM Re: Mail telnet / VB  
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage  Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
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
#17587 - 04/30/04 03:40 PM Re: Mail telnet / VB  
Joined: Apr 2004
Posts: 34
n0mel Offline
Junior Member
n0mel  Offline
Junior Member

Joined: Apr 2004
Posts: 34
...
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.

Sponsored Links

Member Spotlight
Gremelin
Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics46,824
Posts81,994
Average Daily Posts10
Members2,159
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 39,988
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
Ghost Likes: 1
Gremelin Likes: 4
Ice Likes: 1
unreal Likes: 1
Top Liked Users (30 Days)
No Data Found
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160902)