diff options
author | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-13 11:42:23 -0800 |
---|---|---|
committer | CJ Buchmann <cj.buchmann@sendgrid.com> | 2012-01-13 11:42:23 -0800 |
commit | 3fbe9e8fee4fa45a4a0e2620afdd391f7bba5c56 (patch) | |
tree | 83feb3fa4575585941aeda43cc5557d99ce9bf38 /SendGrid/Example/SMTPAPI.cs | |
parent | 6904122e6ea5e9e0932b83871ed48d39e2b09e99 (diff) | |
parent | e3549a7191897313ba7b05c8e76be640a09dbe4e (diff) | |
download | sendgrid-csharp-3fbe9e8fee4fa45a4a0e2620afdd391f7bba5c56.zip sendgrid-csharp-3fbe9e8fee4fa45a4a0e2620afdd391f7bba5c56.tar.gz sendgrid-csharp-3fbe9e8fee4fa45a4a0e2620afdd391f7bba5c56.tar.bz2 |
Merge branch 'us1882' of github.com:sendgrid/sendgrid-csharp into us1882-inbetween
Conflicts:
SendGrid/SendGridMail/Transport/REST.cs
Diffstat (limited to 'SendGrid/Example/SMTPAPI.cs')
-rwxr-xr-x | SendGrid/Example/SMTPAPI.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SendGrid/Example/SMTPAPI.cs b/SendGrid/Example/SMTPAPI.cs index 6ed10cb..2ee8927 100755 --- a/SendGrid/Example/SMTPAPI.cs +++ b/SendGrid/Example/SMTPAPI.cs @@ -25,7 +25,7 @@ namespace Example public void SimpleHTMLEmail()
{
//create a new message object
- var message = new SendGrid(new Header());
+ var message = SendGrid.GenerateInstance();
//set the message recipients
foreach(string recipient in _to)
@@ -52,7 +52,7 @@ namespace Example public void SimplePlaintextEmail()
{
//create a new message object
- var message = new SendGrid(new Header());
+ var message = SendGrid.GenerateInstance();
//set the message recipients
foreach(string recipient in _to)
@@ -80,7 +80,7 @@ namespace Example {
var header = new Header();
//create a new message object
- var message = new SendGrid(header);
+ var message = SendGrid.GenerateInstance();
//set the message recipients
foreach (string recipient in _to)
@@ -114,7 +114,7 @@ namespace Example {
var header = new Header();
//create a new message object
- var message = new SendGrid(header);
+ var message = SendGrid.GenerateInstance();
//set the message recipients
foreach (string recipient in _to)
|