You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A supported Python version (3.4, 3.5, 3.6, 3.7, 3.8)
21
21
* A SocketLabs account. If you don't have one yet, you can [sign up for a free account](https://signup.socketlabs.com/step-1?plan=free) to get started.
22
22
23
23
## Installation
@@ -115,7 +115,7 @@ message = BulkMessage()
115
115
116
116
message.plain_text_body ="This is the body of my message sent to %%Name%%"
117
117
message.html_body ="<html>This is the HtmlBody of my message sent to %%Name%%</html>"
This example demonstrates many features of the Basic Send, including adding multiple recipients, adding message and mailing id's, and adding an embedded image.
150
+
### [Basic send from SocketLabs Template](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_api_template.py)
151
+
This example demonstrates the sending of a piece of content that was created in the
152
+
SocketLabs Email Designer. This is also known as the [API Templates](https://www.socketlabs.com/blog/introducing-api-templates/) feature.
158
153
159
154
### [Basic send from HTML file](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_from_html_file.py)
160
155
This example demonstrates how to read in your HTML content from an HTML file
161
156
rather than passing in a string directly.
162
157
163
-
### [Basic send from SocketLabs Template](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_api_template.py)
164
-
This example demonstrates the sending of a piece of content that was created in the
165
-
SocketLabs Email Designer. This is also known as the [API Templates](https://www.socketlabs.com/blog/introducing-api-templates/) feature.
158
+
### [Basic send with file attachment](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_attachment.py)
159
+
This example demonstrates how to add a file attachment to your message.
160
+
161
+
### [Basic send with embedded image](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_embedded_image.py)
162
+
This example demonstrates how to embed an image in your message.
166
163
167
164
### [Basic send with specified character set](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_ascii_charset.py)
168
165
This example demonstrates sending with a specific character set.
169
166
170
-
### [Basic send with file attachment](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_attachment.py)
171
-
This example demonstrates how to add a file attachment to your message.
172
-
173
167
### [Basic send with custom email headers](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_custom_headers.py)
174
168
This example demonstrates how to add custom headers to your email message.
175
169
176
-
### [Basic send with embedded image](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_embedded_image.py)
177
-
This example demonstrates how to embed an image in your message.
178
-
179
170
### [Basic send with a web proxy](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_proxy.py)
180
171
This example demonstrates how to use a proxy with your HTTP client.
This example demonstrates many features of the Basic Send, including adding multiple recipients, adding message and mailing id's, and adding an embedded image.
178
+
179
+
### [Basic send with Amp](https://github.com/socketlabs/socketlabs-python/blob/main/python-examples/basic/basic_send_with_amp_body.py)
180
+
This example demonstrates how to send a basic message with an AMP Html body.
181
+
For more information about AMP please see [AMP Project](https://amp.dev/documentation/)
182
+
182
183
### [Basic send with invalid file attachment](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/invalid/basic_send_with_invalid_attachment.py)
183
184
This example demonstrates the results of attempting to do a send with an invalid attachment.
184
185
@@ -207,7 +208,7 @@ your recipients from a database and create a bulk mailing with merge data.
207
208
This example demonstrates how to send a bulk message with a specified character
208
209
set and special characters.
209
210
210
-
### [Bulk send with Amp ](https://github.com/socketlabs/socketlabs-python//blob/master/python-examples/bulk/BulkSendWithAmpBody.cs)
211
+
### [Bulk send with Amp ](https://github.com/socketlabs/socketlabs-python/blob/main/python-examples/bulk/bulk_send_with_amp_body.py)
211
212
This example demonstrates how to send a bulk message with an AMP Html body.
212
213
For more information about AMP please see [AMP Project](https://amp.dev/documentation/)
0 commit comments