SmtpServerAuthPopBeforeSmtp Property |
Namespace: MailBee.SmtpMail
POP-before-SMTP authentication is used by some older mail systems which do not support ESMTP authentication to authenticate users. In this scenario, Smtp component connects to the POP3 server first, authenticates the user, disconnects from the POP3 server, and immediately reconnects to the SMTP server.
Automatic POP-before-SMTP authentication (which is performed when this property is true) requires the POP3 server run on the same host as the SMTP server (e.g. both servers are mail.domain.com). If it's not so (e.g. pop.domain.com for POP3 and smtp.domain.com for SMTP), AuthPopBeforeSmtp(String, Int32, String, String) method can be called prior to connecting to the SMTP server instead of setting AuthPopBeforeSmtp to true.