From 48e643fd1c38face8b6f2d1ad2c2aaecd8c8a258 Mon Sep 17 00:00:00 2001 From: adityatandon007 Date: Sat, 14 Oct 2017 12:20:56 +0530 Subject: [PATCH 1/5] adds how to set up domain whitelabel and how to view email statistics documentation --- USE_CASES.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/USE_CASES.md b/USE_CASES.md index 14619413a..32490c906 100644 --- a/USE_CASES.md +++ b/USE_CASES.md @@ -169,3 +169,17 @@ print(response.status_code) print(response.body) print(response.headers) ``` + + +# How to Setup a Domain Whitelabel + +You can find documentation for how to setup a domain whitelabel via the UI [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/setup_domain_whitelabel.html) and via API [here](https://github.com/sendgrid/sendgrid-csharp/blob/master/USAGE.md#whitelabel). + +Find more information about all of SendGrid's whitelabeling related documentation [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/index.html). + + +# How to View Email Statistics + +You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics) and via API [here](https://github.com/sendgrid/sendgrid-csharp/blob/master/USAGE.md#stats). + +Alternatively, we can post events to a URL of your choice via our [Event Webhook](https://sendgrid.com/docs/API_Reference/Webhooks/event.html) about events that occur as SendGrid processes your email. From 868e8cf408c11ffa9d62b5383723244c578f6b51 Mon Sep 17 00:00:00 2001 From: adityatandon007 Date: Sat, 14 Oct 2017 12:38:39 +0530 Subject: [PATCH 2/5] updating environment --- .gitignore | 2 +- sendgrid.env | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 sendgrid.env diff --git a/.gitignore b/.gitignore index 6d18bfa14..e1d700498 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,4 @@ venv/ .tox/ profile* README.txt -temp*.py \ No newline at end of file +temp*.pysendgrid.env diff --git a/sendgrid.env b/sendgrid.env new file mode 100644 index 000000000..524a5b5b1 --- /dev/null +++ b/sendgrid.env @@ -0,0 +1 @@ +export SENDGRID_API_KEY='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' From 19b88ec22d160085463cbbcceb38df4c7adc3549 Mon Sep 17 00:00:00 2001 From: adityatandon007 Date: Sat, 14 Oct 2017 13:02:58 +0530 Subject: [PATCH 3/5] Revert "adds how to set up domain whitelabel and how to view email statistics documentation" This reverts commit 48e643fd1c38face8b6f2d1ad2c2aaecd8c8a258. --- USE_CASES.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/USE_CASES.md b/USE_CASES.md index 32490c906..14619413a 100644 --- a/USE_CASES.md +++ b/USE_CASES.md @@ -169,17 +169,3 @@ print(response.status_code) print(response.body) print(response.headers) ``` - - -# How to Setup a Domain Whitelabel - -You can find documentation for how to setup a domain whitelabel via the UI [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/setup_domain_whitelabel.html) and via API [here](https://github.com/sendgrid/sendgrid-csharp/blob/master/USAGE.md#whitelabel). - -Find more information about all of SendGrid's whitelabeling related documentation [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/index.html). - - -# How to View Email Statistics - -You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics) and via API [here](https://github.com/sendgrid/sendgrid-csharp/blob/master/USAGE.md#stats). - -Alternatively, we can post events to a URL of your choice via our [Event Webhook](https://sendgrid.com/docs/API_Reference/Webhooks/event.html) about events that occur as SendGrid processes your email. From 2e80c62ee678deab0ec987f99c4d7ffcc7bf284f Mon Sep 17 00:00:00 2001 From: adityatandon007 Date: Sat, 14 Oct 2017 13:07:20 +0530 Subject: [PATCH 4/5] reverting to earlier version --- .gitignore | 2 +- USE_CASES.md | 14 ++++++++++++++ sendgrid.env | 1 - 3 files changed, 15 insertions(+), 2 deletions(-) delete mode 100644 sendgrid.env diff --git a/.gitignore b/.gitignore index e1d700498..d0097bc55 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,4 @@ venv/ .tox/ profile* README.txt -temp*.pysendgrid.env +temp*.py diff --git a/USE_CASES.md b/USE_CASES.md index 14619413a..32490c906 100644 --- a/USE_CASES.md +++ b/USE_CASES.md @@ -169,3 +169,17 @@ print(response.status_code) print(response.body) print(response.headers) ``` + + +# How to Setup a Domain Whitelabel + +You can find documentation for how to setup a domain whitelabel via the UI [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/setup_domain_whitelabel.html) and via API [here](https://github.com/sendgrid/sendgrid-csharp/blob/master/USAGE.md#whitelabel). + +Find more information about all of SendGrid's whitelabeling related documentation [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/index.html). + + +# How to View Email Statistics + +You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics) and via API [here](https://github.com/sendgrid/sendgrid-csharp/blob/master/USAGE.md#stats). + +Alternatively, we can post events to a URL of your choice via our [Event Webhook](https://sendgrid.com/docs/API_Reference/Webhooks/event.html) about events that occur as SendGrid processes your email. diff --git a/sendgrid.env b/sendgrid.env deleted file mode 100644 index 524a5b5b1..000000000 --- a/sendgrid.env +++ /dev/null @@ -1 +0,0 @@ -export SENDGRID_API_KEY='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' From 3dedcdaf21a97872b929d4fca771c1fb4305295c Mon Sep 17 00:00:00 2001 From: adityatandon007 Date: Sun, 15 Oct 2017 12:05:32 +0530 Subject: [PATCH 5/5] fixes issues --- USE_CASES.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/USE_CASES.md b/USE_CASES.md index 32490c906..126fb2b63 100644 --- a/USE_CASES.md +++ b/USE_CASES.md @@ -4,6 +4,8 @@ This documentation provides examples for specific use cases. Please [open an iss * [Transactional Templates](#transactional_templates) * [Attachment](#attachment) +* [How to Setup a Domain Whitelabel](#domain_whitelabel) +* [How to View Email Statistics](#email_stats) # Transactional Templates @@ -173,13 +175,13 @@ print(response.headers) # How to Setup a Domain Whitelabel -You can find documentation for how to setup a domain whitelabel via the UI [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/setup_domain_whitelabel.html) and via API [here](https://github.com/sendgrid/sendgrid-csharp/blob/master/USAGE.md#whitelabel). +You can find documentation for how to setup a domain whitelabel via the UI [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/setup_domain_whitelabel.html) and via API [here](https://github.com/sendgrid/sendgrid-python/blob/master/USAGE.md#whitelabel). Find more information about all of SendGrid's whitelabeling related documentation [here](https://sendgrid.com/docs/Classroom/Basics/Whitelabel/index.html). # How to View Email Statistics -You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics) and via API [here](https://github.com/sendgrid/sendgrid-csharp/blob/master/USAGE.md#stats). +You can find documentation for how to view your email statistics via the UI [here](https://app.sendgrid.com/statistics) and via API [here](https://github.com/sendgrid/sendgrid-python/blob/master/USAGE.md#stats). Alternatively, we can post events to a URL of your choice via our [Event Webhook](https://sendgrid.com/docs/API_Reference/Webhooks/event.html) about events that occur as SendGrid processes your email.