summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rw-r--r--SendGrid/Example/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs
index 2b99395..275f6b9 100644
--- a/SendGrid/Example/Program.cs
+++ b/SendGrid/Example/Program.cs
@@ -21,7 +21,7 @@ namespace Example
var credentials = new NetworkCredential("username", "password");
// Create a Web transport for sending email.
- var transportWeb = Web.GetInstance(credentials);
+ var transportWeb = new Web(credentials);
// Send the email.
if (transportWeb != null)