ASP ClassicLesson 40Free preview
ASP e-mail
This lesson is part of ASP · All levels
Summary
Classic ASPs can send emails via CDO.Message components that utilize SMTP servers on or around web machines. You need to set up SMTP configurations like servers, ports, authentication, and delivery options before calling the Send method. This feature is useful for notifications, account verification, and form feedback, but must be limited to not be misused for spam.
Key points
- The CDO.Message object is created with Server.CreateObject("CDO.Message").
- SMTP configuration is set through the Configuration field with the cdo/configuration schema.
- Validate the input before sending so that the server is not a spam medium.
- Check the server and port settings when the email is not sent.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.