cterasdk.edge.mail module

cterasdk.edge.mail module#

class cterasdk.edge.mail.Mail(edge)#

Bases: BaseCommand

Edge Filer Mail Server configuration APIs

disable()#

Disable e-mail delivery using a custom SMTP server

enable(smtp_server, port=25, username=None, password=None, use_tls=True)#

Enable e-mail delivery using a custom SMTP server

Parameters:
  • smtp_server (str) – Address of the SMTP Server

  • port (int,optional) – The listening port of the SMTP Server, defaults to 25

  • username (str,optional) – The user name of the SMTP Server, defaults to None

  • password (str,optional) – The password of the SMTP Server, defaults to None

  • use_tls (bool,optional) – Use TLS when connecting to the SMTP Server, defaults to True