Skip to content

Commit c37a70f

Browse files
readme & setup updates.
Published to Pypi
1 parent 3acaa2c commit c37a70f

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

README.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The SocketLabs Email Delivery Python library allows you to easily send email mes
1717
<a name="prerequisites-and-installation" id="prerequisites-and-installation"></a>
1818
# Prerequisites and Installation
1919
## Prerequisites
20-
* A supported Python version (3.4, 3.5, 3.6, 3.7)
20+
* A supported Python version (3.4, 3.5, 3.6, 3.7, 3.8)
2121
* 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.
2222

2323
## Installation
@@ -115,7 +115,7 @@ message = BulkMessage()
115115

116116
message.plain_text_body = "This is the body of my message sent to %%Name%%"
117117
message.html_body = "<html>This is the HtmlBody of my message sent to %%Name%%</html>"
118-
message.subject = tests
118+
message.subject = "Sending a test message"
119119
message.from_email_address = EmailAddress("[email protected]")
120120

121121
recipient1 = BulkRecipient("[email protected]")
@@ -147,38 +147,39 @@ created in the [SocketLabs Email Designer](https://www.socketlabs.com/blog/intro
147147
attachments, sending content that is stored in an HTML file, advanced bulk
148148
merging, and even pulling recipients from a datasource.
149149

150-
### [Basic send example](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send.py)
151-
This example demonstrates a Basic Send.
152-
153-
### [Basic send async example](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_async.py)
154-
Basic send async example
155-
156-
### [Basic send complex example](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_complex.py)
157-
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.
158153

159154
### [Basic send from HTML file](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_from_html_file.py)
160155
This example demonstrates how to read in your HTML content from an HTML file
161156
rather than passing in a string directly.
162157

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.
166163

167164
### [Basic send with specified character set](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_ascii_charset.py)
168165
This example demonstrates sending with a specific character set.
169166

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-
173167
### [Basic send with custom email headers](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_custom_headers.py)
174168
This example demonstrates how to add custom headers to your email message.
175169

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-
179170
### [Basic send with a web proxy](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_with_proxy.py)
180171
This example demonstrates how to use a proxy with your HTTP client.
181172

173+
### [Basic send async example](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_async.py)
174+
Basic send async example
175+
176+
### [Basic send complex example](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/basic_send_complex.py)
177+
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+
182183
### [Basic send with invalid file attachment](https://github.com/socketlabs/socketlabs-python/blob/master/python-examples/basic/invalid/basic_send_with_invalid_attachment.py)
183184
This example demonstrates the results of attempting to do a send with an invalid attachment.
184185

@@ -207,7 +208,7 @@ your recipients from a database and create a bulk mailing with merge data.
207208
This example demonstrates how to send a bulk message with a specified character
208209
set and special characters.
209210

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)
211212
This example demonstrates how to send a bulk message with an AMP Html body.
212213
For more information about AMP please see [AMP Project](https://amp.dev/documentation/)
213214

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
setup(
1111
name="socketlabs_injectionapi",
1212
version=__version__,
13-
author="David Schrenker, Matt Reibach",
13+
author="David Schrenker, Matt Reibach, Ryan Lydzinski",
1414
author_email="[email protected]",
1515
description="SocketLabs Email Delivery Python client library",
1616
long_description=long_description,
@@ -22,6 +22,7 @@
2222
'Programming Language :: Python :: 3.5',
2323
'Programming Language :: Python :: 3.6',
2424
'Programming Language :: Python :: 3.7',
25+
'Programming Language :: Python :: 3.8',
2526
"License :: OSI Approved :: MIT License",
2627
"Operating System :: OS Independent",
2728
],

0 commit comments

Comments
 (0)