summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeeraj <neeraj.viman@gmail.com>2014-05-22 11:41:31 +0530
committerNeeraj <neeraj.viman@gmail.com>2014-05-22 11:41:31 +0530
commitc580190dc634b08bc9e7e0eace71058e1996fb1a (patch)
tree7d1ca44578427d69b7d31c637f5e52c8d74a67c5
parent604bcafba35081229a494c53e7dfeb59a6cd6788 (diff)
downloadsendgrid-csharp-c580190dc634b08bc9e7e0eace71058e1996fb1a.zip
sendgrid-csharp-c580190dc634b08bc9e7e0eace71058e1996fb1a.tar.gz
sendgrid-csharp-c580190dc634b08bc9e7e0eace71058e1996fb1a.tar.bz2
Update Readme.md for 3.0.0 version
Fixed typos
-rwxr-xr-xREADME.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 208314f..80a888d 100755
--- a/README.md
+++ b/README.md
@@ -99,7 +99,7 @@ task.
Attachments can be added to a message by calling the **AddAttachment** method and specifying the name and path of the file you want to attach, or by passing a stream. You can include multiple attachments by calling this method once for each file you wish to attach. The following example demonstrates adding an attachment to a message:
```csharp
-SendGridMessage myMessage = New SendGridMessage();
+SendGridMessage myMessage = new SendGridMessage();
myMessage.AddTo("anna@example.com");
myMessage.From = new MailAddress("john@example.com", "John Smith");
myMessage.Subject = "Testing the SendGrid Library";
@@ -111,7 +111,7 @@ myMessage.AddAttachment(@"C:\file1.txt");
You can also add attachments from the data's **Stream**. It can be done by calling the same method as above, **AddAttachment**, but by passing in the Stream of the data, and the filename you want it to show as in the message.
```csharp
-SendGridMessage myMessage = New SendGridMessage();
+SendGridMessage myMessage = new SendGridMessage();
myMessage.AddTo("anna@example.com");
myMessage.From = new MailAddress("john@example.com", "John Smith");
myMessage.Subject = "Testing the SendGrid Library";
@@ -134,7 +134,7 @@ The following examples demonstrate the footer and click tracking filters:
##Footer
```csharp
// Create the email object first, then add the properties.
-SendGridMessage myMessage = New SendGridMessage();
+SendGridMessage myMessage = new SendGridMessage();
myMessage.AddTo("anna@example.com");
myMessage.From = new MailAddress("john@example.com", "John Smith");
myMessage.Subject = "Testing the SendGrid Library";
@@ -147,7 +147,7 @@ myMessage.EnableFooter("PLAIN TEXT FOOTER", "<p><em>HTML FOOTER</em></p>");
##Click tracking
```csharp
// Create the email object first, then add the properties.
-SendGridMessage myMessage = New SendGridMessage();
+SendGridMessage myMessage = new SendGridMessage();
myMessage.AddTo("anna@example.com");
myMessage.From = new MailAddress("john@example.com", "John Smith");
myMessage.Subject = "Testing the SendGrid Library";