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: 719
I assume that web controls (such as the
PasswordRecoverycontrol) useSmtpClientto send email messages. If so, doesSmtpClientrepresent a POP3 client or doesSmtpClientforward email message to POP3 client?Do attributes specified inside
<smtp>element inweb.configmap toSmtpClientclass?<system.net> <mailSettings> <smtp deliveryMethod="Network" ...></smtp> </mailSettings> </system.net>One of the possible values for the attribute
deliveryMethodisNetwork, 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
PasswordRecoverycontrol to be able to send email messages, we need to set basic properties in<MailDefinition>subelement of thePasswordRecoverycontrol. Thus I assumeMailDefinitionis used by controls to create an email message?!
© Stack Overflow or respective owner