nbprint.config.outputs.SMTP¶
- pydantic model nbprint.config.outputs.SMTP[source]¶
Bases:
BaseModelShow JSON schema
{ "title": "SMTP", "type": "object", "properties": { "host": { "description": "SMTP server host", "title": "Host", "type": "string" }, "port": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 25, "description": "SMTP server port", "title": "Port" }, "user": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "SMTP server username", "title": "User" }, "password": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "SMTP server password", "title": "Password" }, "tls": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "description": "Use TLS for SMTP connection", "title": "Tls" }, "ssl": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "description": "Use SSL for SMTP connection", "title": "Ssl" }, "timeout": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 30, "description": "Timeout for SMTP connection in seconds", "title": "Timeout" } }, "additionalProperties": false, "required": [ "host" ] }
- field host: str [Required]¶
SMTP server host
- field port: int | None = 25¶
SMTP server port
- field user: str | None = None¶
SMTP server username
- field password: str | None = None¶
SMTP server password
- field tls: bool | None = False¶
Use TLS for SMTP connection
- field ssl: bool | None = False¶
Use SSL for SMTP connection
- field timeout: int | None = 30¶
Timeout for SMTP connection in seconds