1.4 KiB
1.4 KiB
SystemConfigSmtpTransportDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| host | str | SMTP server hostname | |
| ignore_cert | bool | Whether to ignore SSL certificate errors | |
| password | str | SMTP password | |
| port | int | SMTP server port | |
| secure | bool | Whether to use secure connection (TLS/SSL) | |
| username | str | SMTP username |
Example
from generated.immich.openapi_client.models.system_config_smtp_transport_dto import SystemConfigSmtpTransportDto
# TODO update the JSON string below
json = "{}"
# create an instance of SystemConfigSmtpTransportDto from a JSON string
system_config_smtp_transport_dto_instance = SystemConfigSmtpTransportDto.from_json(json)
# print the JSON string representation of the object
print(SystemConfigSmtpTransportDto.to_json())
# convert the object into a dict
system_config_smtp_transport_dto_dict = system_config_smtp_transport_dto_instance.to_dict()
# create an instance of SystemConfigSmtpTransportDto from a dict
system_config_smtp_transport_dto_from_dict = SystemConfigSmtpTransportDto.from_dict(system_config_smtp_transport_dto_dict)