Skip to content

Commit 4731018

Browse files
authored
Merge pull request #20 from socketlabs/release
Release
2 parents e17c6e4 + fcd9d83 commit 4731018

File tree

26 files changed

+187
-369
lines changed

26 files changed

+187
-369
lines changed

Example Projects/dotNetCoreExample/dotNetCoreExample.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net6.0</TargetFramework>
6+
<Copyright>Copyright © 2018-2022 SocketLabs Acquisition LLC</Copyright>
67
</PropertyGroup>
78

89
<ItemGroup>

LICENSE.MD renamed to LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 SocketLabs
3+
Copyright © 2018-2022 SocketLabs Acquisition LLC
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.MD renamed to README.md

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
[![SocketLabs](https://static.socketlabs.com/logos/logo-dark-326x64.png)](https://www.socketlabs.com/developers)
2-
# [![Twitter Follow](https://img.shields.io/twitter/follow/socketlabs.svg?style=social&label=Follow)](https://twitter.com/socketlabs) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/socketlabs/socketlabs-csharp/blob/master/CONTRIBUTING.md)
3-
<!--
4-
[![GitHub contributors](https://img.shields.io/github/contributors/socketlabs/csharp-socketlabs.svg)](https://github.com/socketlabs/csharp-socketlabs/graphs/contributors)
5-
-->
1+
[![SocketLabs](https://s3.amazonaws.com/static.socketlabs/logos/logo-dark-317x40.svg)](https://www.socketlabs.com/developers)
2+
3+
[![Twitter Follow](https://img.shields.io/twitter/follow/socketlabs.svg?style=social&label=Follow)](https://twitter.com/socketlabs)
4+
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)
5+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/socketlabs/socketlabs-csharp/blob/master/CONTRIBUTING.md)
6+
[![GitHub contributors](https://img.shields.io/github/contributors/socketlabs/socketlabs-csharp.svg)](https://github.com/socketlabs/csharp-socketlabs/graphs/contributors)
7+
![](https://dev.azure.com/socketlabs/Public%20Projects/_apis/build/status/CSharp-CI?branchName=main)
8+
69

710
The SocketLabs Email Delivery C# library 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.
811

@@ -15,7 +18,6 @@ The SocketLabs Email Delivery C# library allows you to easily send email message
1518
* [License](#license)
1619

1720

18-
<a name="prerequisites-and-installation"></a>
1921
# Prerequisites and Installation
2022
## Prerequisites
2123
* A supported .NET version
@@ -52,7 +54,6 @@ is download the latest release binaries located at [https://github.com/socketlab
5254
Once you download the zip file, extract the files, and add the dll's from ```the lib\net45``` directory as references.
5355
You can do this from the project menu by clicking "Add Reference" then going to the browse option and picking the dll's from there.
5456

55-
<a name="getting-started"></a>
5657
# Getting Started
5758
## Obtaining your API Key and SocketLabs ServerId number
5859
In order to get started, you'll need to enable the Injection API feature in the [SocketLabs Control Panel](https://cp.socketlabs.com).
@@ -137,7 +138,6 @@ recipient2.MergeData.Add("Name","Recipient2");
137138
var response = client.Send(message);
138139
```
139140

140-
<a name="managing-api-keys"></a>
141141
## Managing API Keys
142142
For ease of demonstration, many of our examples include the ServerId and API
143143
key directly in our code sample. Generally it is not considered a good practice
@@ -147,9 +147,7 @@ information please see:
147147
* [Using web.config](https://docs.microsoft.com/en-us/aspnet/identity/overview/features-api/best-practices-for-deploying-passwords-and-other-sensitive-data-to-aspnet-and-azure)
148148
* [Using Environment Variables](https://docs.microsoft.com/en-us/dotnet/api/system.environment.getenvironmentvariable)
149149

150-
151-
<a name="examples-and-use-cases"></a>
152-
# Examples and Use Cases
150+
## Examples and Use Cases
153151
In order to demonstrate the many possible use cases for the SDK, we've provided
154152
an assortment of code examples. These examples demonstrate many different
155153
features available to the Injection API and SDK, including using templates
@@ -213,15 +211,8 @@ set and special characters.
213211
This example demonstrates how to send a bulk message with an AMP Html body.
214212
For more information about AMP please see [AMP Project](https://amp.dev/documentation/)
215213

216-
<a name="version"></a>
217214
# Version
218-
* 1.2.3 - Revert request timeout override. To set the timeout please pass your HttpClient instance via the constructor.
219-
* 1.2.2 - Adding optional retry logic for Http requests. If configured, the request will retry when certain 500 errors occur (500, 502, 503, 504)
220-
* 1.2.1 - Adding request timeout value on the client for Http requests
221-
* 1.2.0 - Can now pass in instance of HTTP client, adds .NET 5.0 support
222-
* 1.1.0 - Adds Amp Html Support
223-
* 1.0.0 - Initial Release
224-
225-
<a name="license"></a>
215+
See [Release Notes](./docs/release-notes/latest.md)
216+
226217
# License
227218
The SocketLabs.EmailDelivery library and all associated code, including any code samples, are [MIT Licensed](https://github.com/socketlabs/socketlabs-csharp/blob/master/LICENSE.MD).

SocketLabs.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30907.101
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.2.32616.157
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketLabs.UnitTests", "test\SocketLabs.Test\SocketLabs.UnitTests.csproj", "{C6E1FF08-07E8-47A9-B04B-F2F91468F045}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocketLabs.Tests", "test\SocketLabs.Tests\SocketLabs.Tests.csproj", "{C6E1FF08-07E8-47A9-B04B-F2F91468F045}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Example Projects", "Example Projects", "{9D503021-C623-4244-B0A2-1D866F0DD895}"
99
EndProject

docs/images/icon.png

3.13 KB
Loading

docs/release-notes/1.0.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* 1.0.0 - Initial Release

docs/release-notes/1.1.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* 1.1.0 - Adds Amp Html Support

docs/release-notes/1.2.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* 1.2.0 - Can now pass in instance of HTTP client, adds .NET 5.0 support

docs/release-notes/1.2.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* 1.2.1 - Adding request timeout value on the client for Http requests

docs/release-notes/1.2.2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* 1.2.2 - Adding optional retry logic for Http requests. If configured, the request will retry when certain 500 errors occur (500, 502, 503, 504)

0 commit comments

Comments
 (0)