473,396 Members | 1,765 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

email form in asp.net problem

I developed a web application using asp.net which send an email using
"SmtpMail"
and it was working perfectly .

when i upload it to the webhosint i bought , it didn't work because of email
authentication.
is there any solution ???

Jul 21 '05 #1
5 1513
SmtpMail requires the name of a mail server. Normally, when I hear the term
'email authentication', I think of the fact that the mail server will check
the IP address of the program that is accessing it, and will prevent access
from a computer that is not on its network.

When your program was running from your developer's workstation, you were
probably accessing your local mail server.

Now that you are running from an ISP, the server at the ISP is not on the
same network as the mail server, so it rejects the attempt to send the
e-mail.

The answer is to contact your ISP and get the name of the mail server that
they use, and change your app to use that server name instead (hopefully you
stored the name of the mail server in the config file).

I'm guessing that this is the problem.

--- Nick

"Yazeed" <Ya***********@discussions.microsoft.com> wrote in message
news:6B**********************************@microsof t.com...
I developed a web application using asp.net which send an email using
"SmtpMail"
and it was working perfectly .

when i upload it to the webhosint i bought , it didn't work because of email authentication.
is there any solution ???

Jul 21 '05 #2
This link will show you how to authenticate with an SMTP server:
http://www.systemwebmail.com/faq/3.8.aspx

HTH, Jakob.
"Yazeed" wrote:
I developed a web application using asp.net which send an email using
"SmtpMail"
and it was working perfectly .

when i upload it to the webhosint i bought , it didn't work because of email
authentication.
is there any solution ???

Jul 21 '05 #3
excellent post, Jakob. I'm going to try to keep that link handy.

--- Nick

"Jakob Christensen" <jc*@REMOVEpension.dk> wrote in message
news:BE**********************************@microsof t.com...
This link will show you how to authenticate with an SMTP server:
http://www.systemwebmail.com/faq/3.8.aspx

HTH, Jakob.
"Yazeed" wrote:
I developed a web application using asp.net which send an email using
"SmtpMail"
and it was working perfectly .

when i upload it to the webhosint i bought , it didn't work because of email authentication.
is there any solution ???

Jul 21 '05 #4
Dear Nick ,
i define an SMTP server , but the problem that this mail server needs
authentication.

"Nick Malik" wrote:
SmtpMail requires the name of a mail server. Normally, when I hear the term
'email authentication', I think of the fact that the mail server will check
the IP address of the program that is accessing it, and will prevent access
from a computer that is not on its network.

When your program was running from your developer's workstation, you were
probably accessing your local mail server.

Now that you are running from an ISP, the server at the ISP is not on the
same network as the mail server, so it rejects the attempt to send the
e-mail.

The answer is to contact your ISP and get the name of the mail server that
they use, and change your app to use that server name instead (hopefully you
stored the name of the mail server in the config file).

I'm guessing that this is the problem.

--- Nick

"Yazeed" <Ya***********@discussions.microsoft.com> wrote in message
news:6B**********************************@microsof t.com...
I developed a web application using asp.net which send an email using
"SmtpMail"
and it was working perfectly .

when i upload it to the webhosint i bought , it didn't work because of

email
authentication.
is there any solution ???


Jul 21 '05 #5
look at the link provided by Jakob. The referenced article describes, in
detail, how you can access the CDO object that lies underneath the SmtpMail
object, where you can set the authentication parameters.

I will repeat it here by copying from Jakob Christensen's message:
http://www.systemwebmail.com/faq/3.8.aspx

--- Nick

"Yazeed_Roumer" <Ya**********@discussions.microsoft.com> wrote in message
news:D7**********************************@microsof t.com...
Dear Nick ,
i define an SMTP server , but the problem that this mail server needs
authentication.

"Nick Malik" wrote:
SmtpMail requires the name of a mail server. Normally, when I hear the term 'email authentication', I think of the fact that the mail server will check the IP address of the program that is accessing it, and will prevent access from a computer that is not on its network.

When your program was running from your developer's workstation, you were probably accessing your local mail server.

Now that you are running from an ISP, the server at the ISP is not on the same network as the mail server, so it rejects the attempt to send the
e-mail.

The answer is to contact your ISP and get the name of the mail server that they use, and change your app to use that server name instead (hopefully you stored the name of the mail server in the config file).

I'm guessing that this is the problem.

--- Nick

"Yazeed" <Ya***********@discussions.microsoft.com> wrote in message
news:6B**********************************@microsof t.com...
I developed a web application using asp.net which send an email using
"SmtpMail"
and it was working perfectly .

when i upload it to the webhosint i bought , it didn't work because of

email
authentication.
is there any solution ???


Jul 21 '05 #6

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

Similar topics

4
by: dmiller23462 | last post by:
So here's my problem.....I need to set up different email distributions based on which option in the following Select form has been chosen....For instance if "Putaway" is chosen it needs to email...
5
by: Paxton | last post by:
I created an html email containing a form whose method is POST. The form is posted to an asp page for processing, but no values are retrieved. So I response.write all the Request.Form fields, and...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
7
by: Martin | last post by:
Hi, I have a standard aspx page (form) that contains a few user controls. Upon form submission the page is validated. If validation passses then a text based email is sent. This is all working...
1
by: socal | last post by:
I'm a PHP programmer, but was asked to look at a problem with a mail form using ASP (which I have never used before). I was able to figure out from Googling that the error message had to do with...
4
by: Ken D. | last post by:
I have an asp page that collects data on referrals. The user inputs the information and selects the rep to receive the referral. My data is being saved to a backend database (SQL) and the user is...
26
by: libsfan01 | last post by:
Hi all! Can anyone show me how to check and email field on a form for the existence of these two characters. Kind regards Marc
2
by: alwaysintune | last post by:
I'm using the McFedries email form, and I can't seem to get an upload form to work. Instead of it saving to my server, I want it to send the information and the picture to my email. Here is the...
20
by: Pete Marsh | last post by:
Wondering if anyone can see an error with this script. I get a server configuration error. THat could mean a module is not being loaded, but maybe there's a syntax error here, can anyone spot it?...
3
by: 130975 | last post by:
Hi Everyone, I am here again with a problem. Lots of work has been done on my Email ID creation database, of course with TSDN help. My problem is that, in my database I have two tables Student...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
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...
0
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...
0
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...
0
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 project—planning, coding, testing,...

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.