|
|
for server in self:
if server.smtp_authentication == 'login':
server.smtp_authentication_info = _(
'Connect to your server through your usual username and password. \n'
'This is the most basic SMTP authentication process and '
'may not be accepted by all providers. \n')
elif server.smtp_authentication == 'certificate':
server.smtp_authentication_info = _(
'Authenticate by using SSL certificates, belonging to your domain name. \n'
'SSL certificates allow you to authenticate your mail server for the entire domain name.')
elif server.smtp_authentication == 'cli':
server.smtp_authentication_info = _(
'Use the SMTP configuration set in the "Command Line Interface" arguments.')
else:
server.smtp_authentication = False
|
|