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
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.
@@ -12,7 +12,7 @@ The SocketLabs Email Delivery Go package allows you to easily send email message
12
12
13
13
14
14
<aname="prerequisites-and-installation"></a>
15
-
# Prerequisites and Installation
15
+
# Prerequisites and Installation
16
16
## Prerequisites
17
17
* Go 1.2.2 or higher
18
18
* 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.
@@ -21,30 +21,30 @@ The SocketLabs Email Delivery Go package allows you to easily send email message
21
21
```
22
22
go get github.com/socketlabs/socketlabs-go/injectionapi
23
23
```
24
-
24
+
25
25
26
26
<aname="getting-started"></a>
27
27
# Getting Started
28
28
## Obtaining your API Key and SocketLabs ServerId number
29
-
In order to get started, you'll need to enable the Injection API feature in the [SocketLabs Control Panel](https://cp.socketlabs.com).
30
-
Once logged in, navigate to your SocketLabs server's dashboard (if you only have one server on your account you'll be taken here immediately after logging in).
31
-
Make note of your 4 or 5 digit ServerId number, as you'll need this along with
32
-
your API key in order to use the Injection API.
29
+
In order to get started, you'll need to enable the Injection API feature in the [SocketLabs Control Panel](https://cp.socketlabs.com).
30
+
Once logged in, navigate to your SocketLabs server's dashboard (if you only have one server on your account you'll be taken here immediately after logging in).
31
+
Make note of your 4 or 5 digit ServerId number, as you'll need this along with
32
+
your API key in order to use the Injection API.
33
33
34
-
To enable the Injection API, click on the "For Developers" dropdown on the top-level navigation, then choose the "Configure HTTP Injection API" option.
34
+
To enable the Injection API, click on the "For Developers" dropdown on the top-level navigation, then choose the "Configure HTTP Injection API" option.
35
35
Once here, you can enable the feature by choosing the "Enabled" option in the
36
-
dropdown. Enabling the feature will also generate your API key, which you'll
37
-
need (along with your ServerId) to start using the API. Be sure to click the
36
+
dropdown. Enabling the feature will also generate your API key, which you'll
37
+
need (along with your ServerId) to start using the API. Be sure to click the
38
38
"Update" button to save your changes once you are finished.
39
-
39
+
40
40
## Basic Message
41
-
A basic message is an email message like you'd send from a personal email client such as Outlook.
42
-
A basic message can have many recipients, including multiple To addresses, CC addresses, and even BCC addresses.
41
+
A basic message is an email message like you'd send from a personal email client such as Outlook.
42
+
A basic message can have many recipients, including multiple To addresses, CC addresses, and even BCC addresses.
43
43
You can also send a file attachment in a basic message.
0 commit comments