Skip to content

Commit c3b6431

Browse files
Update README.md
1 parent 6eb95d8 commit c3b6431

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ namespace Example
8181
var apiKey = Environment.GetEnvironmentVariable("NAME_OF_THE_ENVIRONMENT_VARIABLE_FOR_YOUR_SENDGRID_KEY");
8282
var client = new SendGridClient(apiKey);
8383
var from = new EmailAddress("[email protected]", "Example User");
84-
var subject = "Hello World from the SendGrid CSharp SDK!";
84+
var subject = "Sending with SendGrid is Fun";
8585
var to = new EmailAddress("[email protected]", "Example User");
86-
var plainTextContent = "Hello, Email!";
87-
var htmlContent = "<strong>Hello, Email!</strong>";
86+
var plainTextContent = "and easy to do anywhere, even with C#";
87+
var htmlContent = "<strong>and easy to do anywhere, even with C#</strong>";
8888
var msg = MailHelper.CreateSingleEmail(from, to, subject, plainTextContent, htmlContent);
8989
var response = await client.SendEmailAsync(msg);
9090
}
@@ -116,9 +116,9 @@ namespace Example
116116
var msg = new SendGridMessage()
117117
{
118118
From = new EmailAddress("[email protected]", "DX Team"),
119-
Subject = "Hello World from the SendGrid CSharp SDK!",
120-
PlainTextContent = "Hello, Email!",
121-
HtmlContent = "<strong>Hello, Email!</strong>"
119+
Subject = "Sending with SendGrid is Fun",
120+
PlainTextContent = "and easy to do anywhere, even with C#",
121+
HtmlContent = "<strong>and easy to do anywhere, even with C#</strong>"
122122
};
123123
msg.AddTo(new EmailAddress("[email protected]", "Test User"));
124124
var response = await client.SendEmailAsync(msg);

0 commit comments

Comments
 (0)