|
1 | 1 | # Send a Single Email to a Single Recipient |
2 | 2 |
|
3 | | -The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-python/blob/master/TROUBLESHOOTING.md#environment). If you don't have your key stored in an environment variable, you can assign it directly to `apikey` for testing purposes. |
| 3 | +The following code assumes you are storing the API key in an environment variable (recommended). |
4 | 4 |
|
5 | 5 | This is the minimum code needed to send an email. |
6 | 6 |
|
@@ -37,7 +37,7 @@ public class SendGridExample { |
37 | 37 |
|
38 | 38 | # Send a Single Email to Multiple Recipients |
39 | 39 |
|
40 | | -The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-python/blob/master/TROUBLESHOOTING.md#environment). If you don't have your key stored in an environment variable, you can assign it directly to `apikey` for testing purposes. |
| 40 | +The following code assumes you are storing the API key in an environment variable (recommended). |
41 | 41 |
|
42 | 42 | ```java |
43 | 43 | import com.sendgrid.*; |
@@ -76,7 +76,7 @@ public class SendGridExample { |
76 | 76 |
|
77 | 77 | # Send Multiple Emails to Multiple Recipients |
78 | 78 |
|
79 | | -The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-python/blob/master/TROUBLESHOOTING.md#environment). If you don't have your key stored in an environment variable, you can assign it directly to `apikey` for testing purposes. |
| 79 | +The following code assumes you are storing the API key in an environment variable (recommended). |
80 | 80 |
|
81 | 81 |
|
82 | 82 | ```java |
@@ -128,7 +128,7 @@ public class SendGridExample { |
128 | 128 |
|
129 | 129 | # Kitchen Sink - an example with all settings used |
130 | 130 |
|
131 | | -The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-python/blob/master/TROUBLESHOOTING.md#environment). If you don't have your key stored in an environment variable, you can assign it directly to `apikey` for testing purposes. |
| 131 | +The following code assumes you are storing the API key in an environment variable (recommended). |
132 | 132 |
|
133 | 133 |
|
134 | 134 | ```java |
@@ -352,8 +352,7 @@ public class SendGridExample { |
352 | 352 |
|
353 | 353 | # Attachments |
354 | 354 |
|
355 | | -The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-python/blob/master/TROUBLESHOOTING.md#environment). If you don't have your key stored in an environment variable, you can assign it directly to `apikey` for testing purposes. |
356 | | - |
| 355 | +The following code assumes you are storing the API key in an environment variable (recommended). |
357 | 356 |
|
358 | 357 | ```java |
359 | 358 | import com.sendgrid.*; |
@@ -393,7 +392,7 @@ public class SendGridExample { |
393 | 392 |
|
394 | 393 | # Transactional Templates |
395 | 394 |
|
396 | | -The following code assumes you are storing the API key in an [environment variable (recommended)](https://github.com/sendgrid/sendgrid-python/blob/master/TROUBLESHOOTING.md#environment). If you don't have your key stored in an environment variable, you can assign it directly to `apikey` for testing purposes. |
| 395 | +The following code assumes you are storing the API key in an environment variable (recommended). |
397 | 396 |
|
398 | 397 | For this example, we assume you have created a [transactional template](https://sendgrid.com/docs/User_Guide/Transactional_Templates/index.html). Following is the template content we used for testing. |
399 | 398 |
|
|
0 commit comments