diff options
-rw-r--r--[-rwxr-xr-x] | SendGrid/SendGridMail/SendGrid.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SendGrid/SendGridMail/SendGrid.cs b/SendGrid/SendGridMail/SendGrid.cs index f7901c1..44225db 100755..100644 --- a/SendGrid/SendGridMail/SendGrid.cs +++ b/SendGrid/SendGridMail/SendGrid.cs @@ -310,7 +310,7 @@ namespace SendGridMail {
Header.SetCategories(categories);
}
- +
public void AddAttachment(Stream stream, String name)
{
MemoryStream ms = new MemoryStream();
@@ -318,7 +318,7 @@ namespace SendGridMail ms.Seek(0,SeekOrigin.Begin);
StreamedAttachments[name] = ms;
}
- +
public void AddAttachment(String filePath)
{
_attachments.Add(filePath);
|