Does SmtpClient class represent POP3 client or…?
- by SourceC
I assume that web controls (such as the PasswordRecovery control) use SmtpClient to send email messages. If so, does SmtpClient represent a POP3 client or does SmtpClient forward email message to POP3 client?
Do attributes specified inside <smtp> element in web.config map to SmtpClient class?
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" ...></smtp>
</mailSettings>
</system.net>
One of the possible values for the attribute deliveryMethod is Network, which tells that email should be sent through the network to an SMTP server. In other words, this value tells to send email to SMTP server using SMTP protocol?!
For the PasswordRecovery control to be able to send email messages, we need to set basic properties in <MailDefinition> subelement of the PasswordRecovery control. Thus I assume MailDefinition is used by controls to create an email message?!