Does SmtpClient class represent POP3 client or…?
Posted
by SourceC
on Stack Overflow
See other posts from Stack Overflow
or by SourceC
Published on 2009-06-28T20:34:56Z
Indexed on
2010/04/10
14:03 UTC
Read the original article
Hit count: 634
I assume that web controls (such as the
PasswordRecovery
control) useSmtpClient
to send email messages. If so, doesSmtpClient
represent a POP3 client or doesSmtpClient
forward email message to POP3 client?Do attributes specified inside
<smtp>
element inweb.config
map toSmtpClient
class?<system.net> <mailSettings> <smtp deliveryMethod="Network" ...></smtp> </mailSettings> </system.net>
One of the possible values for the attribute
deliveryMethod
isNetwork
, 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 thePasswordRecovery
control. Thus I assumeMailDefinition
is used by controls to create an email message?!
© Stack Overflow or respective owner