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
**This library allows you to quickly and easily use the SendGrid Web API via C Sharp with .NET.**
3
+
**This library allows you to quickly and easily use the SendGrid Web API v3 via C# with .NET.**
4
4
5
-
# Announcements
6
-
7
-
**BREAKING CHANGE as of 2016.06.14**
8
-
9
-
Version `7.X.X` is a breaking change for the entire library.
5
+
Version 7.X.X of this library provides full support for all SendGrid [Web API v3](https://sendgrid.com/docs/API_Reference/Web_API_v3/index.html) endpoints, including the new [v3 /mail/send](https://sendgrid.com/blog/introducing-v3mailsend-sendgrids-new-mail-endpoint).
10
6
11
-
Version 7.X.X brings you full support for all Web API v3 endpoints. We
12
-
have the following resources to get you started quickly:
7
+
This library represents the beginning of a new path for SendGrid. We want this library to be community driven and SendGrid led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/sendgrid/sendgrid-csharp/issues) and [pull requests](https://github.com/sendgrid/sendgrid-csharp/blob/master/CONTRIBUTING.md) or simply upvote or comment on existing issues or pull requests.
-[Migration from v2 to v3](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/how_to_migrate_from_v2_to_v3_mail_send.html)
9
+
Please browse the rest of this README for further detail.
22
10
23
-
Thank you for your continued support!
24
-
25
-
All updates to this library is documented in our [CHANGELOG](https://github.com/sendgrid/sendgrid-csharp/blob/master/CHANGELOG.md).
11
+
We appreciate your continued support, thank you!
26
12
27
13
# Installation
28
14
@@ -33,7 +19,7 @@ All updates to this library is documented in our [CHANGELOG](https://github.com/
33
19
34
20
## Setup Environment Variables
35
21
36
-
Update your Environment (user space) with your [SENDGRID_API_KEY](https://app.sendgrid.com/settings/api_keys).
22
+
Update the development Environment (user space) with your [SENDGRID_API_KEY](https://app.sendgrid.com/settings/api_keys). For example, in Windows 10, please review [this thread](http://superuser.com/questions/949560/how-do-i-set-system-environment-variables-in-windows-10).
37
23
38
24
## Install Package
39
25
@@ -63,6 +49,10 @@ using SendGrid.Helpers.Mail; // Include if you want to use the Mail Helper
63
49
64
50
## Hello Email
65
51
52
+
The following is the minimum needed code to send an email with the [/mail/send Helper](https://github.com/sendgrid/sendgrid-csharp/tree/master/SendGrid/SendGrid/Helpers/Mail) ([here](https://github.com/sendgrid/sendgrid-csharp/blob/master/SendGrid/Example/Example.cs#L45) is a full example):
The `Mail` constructor creates a [personalization object](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/personalizations.html) for you. [Here](https://github.com/sendgrid/sendgrid-csharp/blob/master/SendGrid/Example/Example.cs#L33) is an example of how to add to it.
83
+
84
+
### Without Mail Helper Class
85
+
86
+
The following is the minimum needed code to send an email without the /mail/send Helper ([here](https://github.com/sendgrid/sendgrid-csharp/blob/master/examples/mail/mail.cs#L29) is a full example):
93
87
94
88
```csharp
95
89
usingSystem;
90
+
usingSendGrid;
91
+
usingNewtonsoft.Json; // You can generate your JSON string yourelf or with another library if you prefer
-[How-to: Migration from v2 to v3](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/how_to_migrate_from_v2_to_v3_mail_send.html)
116
176
-[v3 Web API Mail Send Helper](https://github.com/sendgrid/sendgrid-csharp/tree/master/SendGrid/SendGrid/Helpers/Mail)
117
177
118
-
## Roadmap
178
+
# Announcements
179
+
180
+
All updates to this library is documented in our [CHANGELOG](https://github.com/sendgrid/sendgrid-csharp/blob/master/CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-csharp/releases).
181
+
182
+
# Roadmap
119
183
120
-
If you are intersted in the future direction of this project, please take a look at our [milestones](https://github.com/sendgrid/sendgrid-csharp/milestones). We would love to hear your feedback.
184
+
If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/sendgrid/sendgrid-csharp/issues) and [pull requests](https://github.com/sendgrid/sendgrid-csharp/pulls). We would love to hear your feedback.
121
185
122
-
##How to Contribute
186
+
# How to Contribute
123
187
124
-
We encourage contribution to our library, please see our [CONTRIBUTING](https://github.com/sendgrid/sendgrid-csharp/tree/master/CONTRIBUTING.md) guide for details.
188
+
We encourage contribution to our library (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/sendgrid/sendgrid-csharp/tree/master/CONTRIBUTING.md) guide for details.
Copy file name to clipboardExpand all lines: SendGrid/SendGrid/Helpers/Mail/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
# Quick Start
4
4
5
-
Run the [Example Project](https://github.com/sendgrid/sendgrid-csharp/tree/master/SendGrid/SendGrid.sln) (make sure you have set your environment variable to include your SENDGRID_API_KEY).
5
+
Run the [Example Project](https://github.com/sendgrid/sendgrid-csharp/tree/master/SendGrid/SendGrid/Helpers/Mail) (make sure you have set your Environment variable to include your SENDGRID_API_KEY).
6
6
7
7
Click on the Example project, then click the `Start` button in the menu.
0 commit comments