diff --git a/.gitignore b/.gitignore index a33669c1a..de9602419 100644 --- a/.gitignore +++ b/.gitignore @@ -16,9 +16,9 @@ venv/ .tox/ profile* README.txt -temp*.py .coverage coverage.xml htmlcov temp*.py -sendgrid.env \ No newline at end of file +sendgrid.env + diff --git a/USE_CASES.md b/USE_CASES.md index 98426d885..810d345ca 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) * [Asynchronous Mail Send](#asynchronous-mail-send) @@ -171,6 +173,20 @@ 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-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-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. + # Asynchronous Mail Send @@ -254,4 +270,5 @@ if __name__ == "__main__": loop = asyncio.get_event_loop() task = asyncio.async(send_many(ems, sample_cb)) loop.run_until_complete(task) -``` \ No newline at end of file +``` +