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 ???