SmtpClient¶
email_profile.clients.smtp.client.SmtpClient
¶
Low-level SMTP client. Reuse via with for batch sends.
Source code in email_profile/clients/smtp/client.py
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | |
host
property
¶
is_connected
property
¶
user
property
¶
__enter__()
¶
Source code in email_profile/clients/smtp/client.py
162 163 | |
__exit__(exc_type, exc, tb)
¶
Source code in email_profile/clients/smtp/client.py
165 166 | |
__init__(*, host, user, password)
¶
Source code in email_profile/clients/smtp/client.py
109 110 111 112 113 114 115 116 117 118 119 | |
__repr__()
¶
Source code in email_profile/clients/smtp/client.py
168 169 170 | |
close()
¶
Source code in email_profile/clients/smtp/client.py
146 147 148 149 150 151 | |
connect()
¶
Source code in email_profile/clients/smtp/client.py
133 134 135 136 137 138 139 140 141 142 143 144 | |
send(message)
¶
Send a pre-built message through the current SMTP session.
Source code in email_profile/clients/smtp/client.py
153 154 155 156 157 158 159 160 | |