473,495 Members | 2,128 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1518
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
3001
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
2440
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
12311
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
2134
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
1514
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
2319
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
2643
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
3587
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
1685
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
5449
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
6991
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...
1
6878
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
5456
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,...
1
4897
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...
0
4583
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...
0
3088
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...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1405
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 ...
1
649
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.