473,651 Members | 3,012 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET bug in SMTP

I followed this article to do authenticated SMTP, it works fine with port
25. (using .NET framework 1.1)
http://support.microsoft.com/default...b;en-us;555287

However, if I change the port number to 10025 (my email server is running on
this port too). I got error message "Fields update failed. For further
information, examine the Status property of individual field objects."

After some testing, I found that if the port number is under 9999 and it
will work, it won't work if port number is larger and equal to 10000? Is
this a BUG?

Help..

Dec 31 '05 #1
2 1525
Are you sending these emails to your mail server or to another server? As I
understand SMTP (which I confess is fairly limited), it is simply a telnet
session on another computer using port 25 as the gateway.

Before you ask if it's a bug, verify that it's not already a feature. In
other words, under standard use of SMTP, can you use port numbers over 9999?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"00_DotNetWarri or" <00************ **@gmail.com> wrote in message
news:43******** **************@ news.astraweb.c om...
I followed this article to do authenticated SMTP, it works fine with port
25. (using .NET framework 1.1)
http://support.microsoft.com/default...b;en-us;555287

However, if I change the port number to 10025 (my email server is running
on this port too). I got error message "Fields update failed. For further
information, examine the Status property of individual field objects."

After some testing, I found that if the port number is under 9999 and it
will work, it won't work if port number is larger and equal to 10000? Is
this a BUG?

Help..


Dec 31 '05 #2
On the ports issue, you should be able to use any you like, it is down to
your app and any routers to eal with it.

For example you could send out to port 9594 if you wanted using smtp, but
the router at the other end receiving that connection would then need to
listen to that port and forward any connections to a local smtp server on
port 25.

Do check if the ports you are using are already in use with netstat -a from
the command prompt. If they are free and your apps know which port it wants
to use for the smtp you should have no probs.

I have to ask, why would you want to use a different port? And how/why is
your email server running on two ports??
"Christophe r Reed" <ca****@nospam. nospam> wrote in message
news:Oq******** *****@tk2msftng p13.phx.gbl...
Are you sending these emails to your mail server or to another server? As
I understand SMTP (which I confess is fairly limited), it is simply a
telnet session on another computer using port 25 as the gateway.

Before you ask if it's a bug, verify that it's not already a feature. In
other words, under standard use of SMTP, can you use port numbers over
9999?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"00_DotNetWarri or" <00************ **@gmail.com> wrote in message
news:43******** **************@ news.astraweb.c om...
I followed this article to do authenticated SMTP, it works fine with port
25. (using .NET framework 1.1)
http://support.microsoft.com/default...b;en-us;555287

However, if I change the port number to 10025 (my email server is running
on this port too). I got error message "Fields update failed. For
further information, examine the Status property of individual field
objects."

After some testing, I found that if the port number is under 9999 and it
will work, it won't work if port number is larger and equal to 10000? Is
this a BUG?

Help..



Dec 31 '05 #3

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

Similar topics

2
2804
by: Dan Boyle | last post by:
Hi, I am having difficulty connection to an smtp host. I am using the following code but I don't think I fully understand what smtp host can be used. function setSMTPParams($host = null, $port = null, $helo = null, $auth = null, $user = null, $pass = null) { if (!is_null($host)) $this->smtp_params = $host;
21
3364
by: Nancy | last post by:
Hi, Guys, Is there any other way to use python or mod_python writing a web page? I mean, not use "form.py/email", no SMTP server. <form action="form.py/email" method="POST"> ... Thanks a lot. Nancy W
0
3058
by: Almir | last post by:
I hate this Net::SMTP stuff, everything works fine but for the suject field. I see no way of having it show in an email when sent. Has anyone had this problem, can anyone explain why there are no documentations on smtp or better ones at least. I just need the subject field to show. $smtp = Net::SMTP->new('some.your.com'); $smtp->mail ($mailfrom); #the administrator's email goes here $smtp->to('mine@your.com');
2
13696
by: RandRace | last post by:
I'm having some problems with a little script i wrote using net::smtp. I originally wrote it in linux where it works perfectly. I tried to use it from windows the other day and it doesn't work. It connects to the server and prints the banner but will not send mail. Here is my script: use Net::SMTP; my $smtp = Net::SMTP->new('smtp.comcast.net') or die "Can't Open server"!";
3
1927
by: Shannon Clyde | last post by:
SMTP + relay + auth in an IPSEC tunnel to connect to our primary SMTP mail server (GroupWise) from the Web server looks like it would work fine, but is it the best way? I am aware of CDOSYS and some commercial DLLs that allow devs to send mail from within .ASP and .NET without local SMTP service running. Is there any OTHER way to connect to an external SMTP server for mail delivery from a .NET application?
3
5566
by: dale zhang | last post by:
Hi, I write an asp.net web application. It has a “Contact Us” page, where users fill in their email, subject and text and hit send. Then the email will go to my hard coded yahoo email account. I was using optimum online service with smtp server as “mail.optonline.net”. I can receive email correctly. Now I switch to verizon DSL. I change my smtp server accordingly as
1
8036
by: bivin | last post by:
hai i am requesting your technical support. please help me. i have been working with this for five days. the problem is relating with the smtp. i am trying to send an email from the asp.net page. earlier it was showing send using not find error.
34
18222
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
13
6794
by: jcor | last post by:
Hi, I'm trying some code to send a mail with my script. This is it: #!/usr/bin/perl use Net::SMTP; my $smtp_server='62.193.245.15'; my $smtp = Net::SMTP->new($smtp_server) or die "Can't Open server\n"; $smtp->mail('joao.correia@tvn.pt'); $smtp->to('jcor@sapo.pt'); $smtp->auth("joao.correia@tvn.pt","*password*");
5
5296
by: jimhill10 | last post by:
I have a perl script that creates an email attachment file from POST data on a web page. This works just fine. I want to customize the email body to contain all of the text data from the file itself. I thought this would be just a matter of using the $smtp->datasend($POSTvalues) with the $values coming from the names on the web page posting the data. Can someone show me what the correct code snippet would be? Here is my code: ...
0
8361
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
8807
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
8701
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...
0
8584
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...
0
7299
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6158
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
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2701
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
2
1588
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.