email form in asp.net problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 ???
 
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
 
Dear Nick ,
i define an SMTP server , but the problem that this mail server needs
authentication.
 
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
 
Back
Top