class documentation
Threaded version of SMTP for sending emails "asynchronously"
| Method | __del__ |
Destructor to clean up resources. |
| Method | __init__ |
Initialize the async SMTP wrapper. |
| Method | close |
Close the WebSocket connection. |
| Method | send |
Send an email asynchronously. |
| Instance Variable | smtp |
Undocumented |
| Property | is |
Check if the SMTPAsync is currently running. |
| Method | __close |
Internal method to close the thread. |
| Instance Variable | _is |
Undocumented |
| Instance Variable | _lock |
Undocumented |
| Instance Variable | _thread |
Undocumented |
Initialize the async SMTP wrapper.
| Parameters | |
host:str | The server hostname. |
port:int | The server port. |
ssl:bool | Use SSL/TLS. Defaults to False. |
username:str | The login username. Defaults to None. |
password:str | The login password. Defaults to None. |