annie.kok

annie.kok

  • NA
  • 14
  • 0

Urgently need help with SMTP mail service

Sep 11 2003 11:11 PM
hi, I'm new to C# & SMTP mail services. Hope to learn from expertise of other developers. I have read about the System.Web.Mail Namespace in the .NET Framework, and the main classes used are System.Web.Mail.MailMessage and the SmtpMail. This may sound stupid, but hope someone can help please. The classes in System.Web.Mail make use of the SMTP email service built into Microsoft Windows 2000. 1. Is this built-in service referring to the IIS's SMTP mail service or something else? 2. Is the service normally automatically Running already in Windows 2000 OR Do we have to set up & configure the SMTP mail service in order to run the C# application using System.Web.Mail.MailMessage and the SmtpMail? Really appreciate some help Urgently.. Thank you very much. Listing1 contains the listing for a simple web form to send email. This form assumes that the SMTP service is running on the server.

Answers (7)