summaryrefslogtreecommitdiffstats
path: root/SendGrid/SendGridMail/SendGrid.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SendGrid/SendGridMail/SendGrid.cs')
-rwxr-xr-xSendGrid/SendGridMail/SendGrid.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/SendGrid/SendGridMail/SendGrid.cs b/SendGrid/SendGridMail/SendGrid.cs
index 3f2878f..0ee7079 100755
--- a/SendGrid/SendGridMail/SendGrid.cs
+++ b/SendGrid/SendGridMail/SendGrid.cs
@@ -310,6 +310,7 @@ namespace SendGridMail
{
MemoryStream ms = new MemoryStream();
stream.CopyTo(ms);
+ ms.Seek(0,SeekOrigin.Begin);
StreamedAttachments[name] = ms;
}