|
1 |
| -[](https://www.socketlabs.com) |
2 |
| -# [](https://twitter.com/socketlabs) [](./LICENSE) [](https://github.com/socketlabs/socketlabs-go/blob/master/CONTRIBUTING.md) |
| 1 | +[](https://www.socketlabs.com/developers) |
| 2 | +# [](https://twitter.com/socketlabs) [](./LICENSE) [](https://github.com/socketlabs/socketlabs-nodejs/blob/master/CONTRIBUTING.md) |
3 | 3 |
|
4 |
| -The SocketLabs Email Delivery Go package allows you to easily send email messages via the [SocketLabs Injection API](https://www.socketlabs.com/api-reference/injection-api/). The library makes it easy to build and send any type of message supported by the API, from a simple message to a single recipient all the way to a complex bulk message sent to a group of recipients with unique merge data per recipient. |
| 4 | +The SocketLabs Email Delivery Go package allows you to easily send email messages via the [SocketLabs Injection API](https://www.socketlabs.com/docs/inject/). The library makes it easy to build and send any type of message supported by the API, from a simple message to a single recipient all the way to a complex bulk message sent to a group of recipients with unique merge data per recipient. |
5 | 5 |
|
6 | 6 | # Table of Contents
|
7 | 7 | * [Prerequisites and Installation](#prerequisites-and-installation)
|
@@ -75,7 +75,7 @@ func main() {
|
75 | 75 | A bulk message usually contains a single recipient per message
|
76 | 76 | and is generally used to send the same content to many recipients,
|
77 | 77 | optionally customizing the message via the use of MergeData.
|
78 |
| -For more information about using Merge data, please see the [Injection API documentation](https://www.socketlabs.com/api-reference/injection-api/#merging). |
| 78 | +For more information about using Merge data, please see the [Injection API documentation](https://www.socketlabs.com/docs/inject/). |
79 | 79 | ```GO
|
80 | 80 | import (
|
81 | 81 | "github.com/socketlabs/socketlabs-go/injectionapi"
|
@@ -150,6 +150,10 @@ This example demonstrates how to embed an image in your message.
|
150 | 150 | ### [Basic send with a web proxy](https://github.com/socketlabs/socketlabs-go/blob/master/examples/basic/BasicSendWithProxy/BasicSendWithProxy.go)
|
151 | 151 | This example demonstrates how to use a proxy with your HTTP client.
|
152 | 152 |
|
| 153 | +### [Basic send with Amp ](https://github.com/socketlabs/socketlabs-go/blob/main/examples/basic/BasicWithAmpBody/BasicWithAmpBody.go) |
| 154 | +This example demonstrates how to send a basic message with an AMP Html body. |
| 155 | +For more information about AMP please see [AMP Project](https://amp.dev/documentation/) |
| 156 | + |
153 | 157 |
|
154 | 158 | ### [Basic send with invalid file attachment](https://github.com/socketlabs/socketlabs-go/blob/master/examples/basic/Invalid/BasicWithInvalidAttachment/BasicWithInvalidAttachment.go)
|
155 | 159 | This example demonstrates the results of attempting to do a send with an invalid attachment.
|
@@ -180,6 +184,16 @@ set and special characters.
|
180 | 184 | This example demonstrates how to send a bulk message to multiple recipients with
|
181 | 185 | unique merge data per recipient.
|
182 | 186 |
|
| 187 | +### [Bulk send with Amp ](https://github.com/socketlabs/socketlabs-go/blob/main/examples/bulk/BulkWithAmpBody/BulkWithAmpBody.go) |
| 188 | +This example demonstrates how to send a bulk message with an AMP Html body. |
| 189 | +For more information about AMP please see [AMP Project](https://amp.dev/documentation/) |
| 190 | + |
| 191 | + |
| 192 | +<a name="version"></a> |
| 193 | +# Version |
| 194 | +* 1.1.0 - Adds Amp Html Support |
| 195 | +* 1.0.0 - Initial Release |
| 196 | + |
183 | 197 |
|
184 | 198 | <a name="license"></a>
|
185 | 199 | # License
|
|
0 commit comments