473,695 Members | 2,730 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP and Telnet

I need to communicate with a POP3 server using ASP.

Does anybody have any ideas how I can set up a telnet connection using
an ASP script?

There are some components out there, but my host won't allow them.
Thanks for any ideas, R

Jul 22 '05 #1
5 5858
Well a component would seem the best way to go here, if you are really
intent on using Telnet. Sounds like you need to find a host that will allow
them.

But perhaps a better option would be to take a step back and think about
what you are trying to acheive and why you would want to do this? You might
be able to get the data you want from this telnet system via a different
route or via some form of extract that you can then use for your ASP site in
a much more efficient way. An ASP page that is connected to a telnet
session might not be very responsive going forward - especially if you want
to keep that session open across multiple page requests for one user.
Assuming that you need to keep the telnet session open, how are you going to
handle interactions with the telnet session across the ASP session? You
wouldn't want to store this telnet component in a session variable for
instance and then have multiple users each using the component stored in a
session variable - your site will grind to a halt pretty quickly. You can't
store it at application level either. Are multiple users going to be using
your site at the same time?

Richard

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I need to communicate with a POP3 server using ASP.

Does anybody have any ideas how I can set up a telnet connection using
an ASP script?

There are some components out there, but my host won't allow them.
Thanks for any ideas, R

Jul 22 '05 #2
"Richard Hollis" wrote in message
news:ep******** ******@TK2MSFTN GP14.phx.gbl...
: Well a component would seem the best way to go here, if you are really
: intent on using Telnet. Sounds like you need to find a host that will
allow
: them.
:
: But perhaps a better option would be to take a step back and think about
: what you are trying to acheive and why you would want to do this? You
might
: be able to get the data you want from this telnet system via a different
: route or via some form of extract that you can then use for your ASP site
in
: a much more efficient way. An ASP page that is connected to a telnet
: session might not be very responsive going forward - especially if you
want
: to keep that session open across multiple page requests for one user.

Why would you need to keep the telnet session open?

<snip>
Jul 22 '05 #3
I would like to avoid using Telnet if I can, but haven't been able to
find any non-component alternatives? Any suggestions...? Thanks ,R
Richard Hollis wrote:
Well a component would seem the best way to go here, if you are really intent on using Telnet. Sounds like you need to find a host that will allow them.

But perhaps a better option would be to take a step back and think about what you are trying to acheive and why you would want to do this? You might be able to get the data you want from this telnet system via a different route or via some form of extract that you can then use for your ASP site in a much more efficient way. An ASP page that is connected to a telnet
session might not be very responsive going forward - especially if you want to keep that session open across multiple page requests for one user.
Assuming that you need to keep the telnet session open, how are you going to handle interactions with the telnet session across the ASP session? You wouldn't want to store this telnet component in a session variable for instance and then have multiple users each using the component stored in a session variable - your site will grind to a halt pretty quickly. You can't store it at application level either. Are multiple users going to be using your site at the same time?

Richard

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I need to communicate with a POP3 server using ASP.

Does anybody have any ideas how I can set up a telnet connection using an ASP script?

There are some components out there, but my host won't allow them.
Thanks for any ideas, R


Jul 22 '05 #4
What are you trying to do? Can you give more of an outline?

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ c13g2000cwb.goo glegroups.com.. .
I would like to avoid using Telnet if I can, but haven't been able to
find any non-component alternatives? Any suggestions...? Thanks ,R
Richard Hollis wrote:
Well a component would seem the best way to go here, if you are

really
intent on using Telnet. Sounds like you need to find a host that

will allow
them.

But perhaps a better option would be to take a step back and think

about
what you are trying to acheive and why you would want to do this?

You might
be able to get the data you want from this telnet system via a

different
route or via some form of extract that you can then use for your ASP

site in
a much more efficient way. An ASP page that is connected to a telnet
session might not be very responsive going forward - especially if

you want
to keep that session open across multiple page requests for one user.
Assuming that you need to keep the telnet session open, how are you

going to
handle interactions with the telnet session across the ASP session?

You
wouldn't want to store this telnet component in a session variable

for
instance and then have multiple users each using the component stored

in a
session variable - your site will grind to a halt pretty quickly.

You can't
store it at application level either. Are multiple users going to be

using
your site at the same time?

Richard

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I need to communicate with a POP3 server using ASP.

Does anybody have any ideas how I can set up a telnet connection using an ASP script?

There are some components out there, but my host won't allow them.
Thanks for any ideas, R

Jul 22 '05 #5
I need to put together a WebMail system which will allow me to send
using an SMTP component and retrieve via POP3.

Thanks for any help, R

Richard Hollis wrote:
What are you trying to do? Can you give more of an outline?

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ c13g2000cwb.goo glegroups.com.. .
I would like to avoid using Telnet if I can, but haven't been able to find any non-component alternatives? Any suggestions...? Thanks ,R
Richard Hollis wrote:
Well a component would seem the best way to go here, if you are

really
intent on using Telnet. Sounds like you need to find a host that

will allow
them.

But perhaps a better option would be to take a step back and think
about
what you are trying to acheive and why you would want to do this?

You might
be able to get the data you want from this telnet system via a

different
route or via some form of extract that you can then use for your
ASP site in
a much more efficient way. An ASP page that is connected to a
telnet session might not be very responsive going forward - especially if you want
to keep that session open across multiple page requests for one
user. Assuming that you need to keep the telnet session open, how are you going to
handle interactions with the telnet session across the ASP
session? You
wouldn't want to store this telnet component in a session
variable for
instance and then have multiple users each using the component
stored in a
session variable - your site will grind to a halt pretty quickly.

You can't
store it at application level either. Are multiple users going to
be using
your site at the same time?

Richard

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
> I need to communicate with a POP3 server using ASP.
>
> Does anybody have any ideas how I can set up a telnet
connection using
> an ASP script?
>
> There are some components out there, but my host won't allow

them. > Thanks for any ideas, R
>


Jul 22 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
50314
by: Dan | last post by:
I'm writing a simplistic telnet client in VB6 and I've run into a small snag. The program has a textbox to write in the string to be sent using ..SendData and has another textbox that displays what that server sends. When I first connect to the server (in this case, my university's smtp server), I get a response that the server acknowledges my connection. When I type something into the textbox and send it, however, I get no response...
3
8659
by: Yannick Turgeon | last post by:
Hello all, I'm currently trying to pass commands to a telnet session and get the texte generated (stdin + stdout) by the session. The problem I get is that the Telnet.read_until() function seems to freeze after a couple of command. I did a simplify script that reproduce the problem each time (I'm using 2.3.4 on W2K):
4
11178
by: Donnal Walter | last post by:
On Windows XP I am able to connect to a remote telnet server from the command prompt using: telnet nnn.nnn.nnn.nnn 23 where nnn.nnn.nnn.nnn is the IP address of the host. But using telnetlib, this code returns the traceback that follows: import telnetlib host = 'nnn.nnn.nnn.nnn'
2
8273
by: john brown | last post by:
I'm telnetting into a router. Apart from the fact I can't seem to view the output when iniciating the session, I can't match one of the expressions using Net::Telnet. I can telnet into the router manually without a problem. I'm running a sniffer at the same time just to see what's happening behind the scenes. The computer does an ARP request looking for the router's direction, but that seems to be it. I don't think any data actually...
0
7268
by: CJ | last post by:
Can someone look at the code below and tell me whats going on? Here is the problem. I can successfully telnet one of our routers and successfully put in a command in the while statement, but when the loop goes around a second time, it gives me: "pattern match timed-out at c:\filename.pl line 21" It can't get past the waitfor statement for a prompt the 2nd go around in the loop.
2
4581
by: eight02645999 | last post by:
hi i am using a telnet session to simulate an authentication mechanism USER = "user" PASSWORD = "password" try: telnet = telnetlib.Telnet(HOST) telnet.set_debuglevel(5) telnet.read_until("login: ") telnet.write(USER + "\n") telnet.read_until("Password: ")
2
5178
by: thilandeneth | last post by:
i need to do telnet via a web server please give me a idia to initiate the project following requirements are needed 1 Create web based custom telnet client to communicate with remote destinations. must provide login security before make communication 2 telnet communication should not be a direct 1 to 1 communication and that must be as follows Web telnet client -à Web server (telnet client) -à destination (see figure 01)
1
8537
by: perlxyo999 | last post by:
Hi , I have a problem doing manipulation (like split) in string comeing back from telnet commnd : $HOST = 'xxx'; $USER = 'yyy20'; $PASS = 'yyy-pass'; #$telnet = Net::Telnet->new($HOST); #$telnet->login($USER,$PASS); $telnet = new Net::Telnet (Timeout => 30, Prompt => '/ $/');
6
5505
by: sherrygomindes | last post by:
Hi I have written a perl script using the Telnet module. I need to remotely login in from one windows XP machine to another XP machine. But i get errors which i can't figure out the reason. Please someone help me its very very urgent. here is my code: #!/usr/bin/perl -w
17
7340
by: ravimath | last post by:
Dear all, I have written following script to loin to router bu it is showing error. #!c:\Perl\bin; use strict; use warnings; my $hostname = 'REMOVED FOR YOUR PROTECTION'; my $password = 'REMOVED FOR YOUR PROTECTION';
0
8586
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9137
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9004
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8864
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8838
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6506
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5842
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4592
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3025
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.