diff options
author | Tyler Bischel <tyler.bischel@sendgrid.com> | 2012-01-13 16:18:01 -0800 |
---|---|---|
committer | Tyler Bischel <tyler.bischel@sendgrid.com> | 2012-01-13 16:18:01 -0800 |
commit | 166c48b25b69c1f9db5289ca124df1be88b53cf3 (patch) | |
tree | a79c8067835651ae343e04e2e2787cc17b305b1b /SendGrid/SendGridMail/ISendGrid.cs | |
parent | 39d5fb81bec319810565a8b7cf0cbd2e9e985c66 (diff) | |
download | sendgrid-csharp-166c48b25b69c1f9db5289ca124df1be88b53cf3.zip sendgrid-csharp-166c48b25b69c1f9db5289ca124df1be88b53cf3.tar.gz sendgrid-csharp-166c48b25b69c1f9db5289ca124df1be88b53cf3.tar.bz2 |
fixed attachments and REST works!!
Diffstat (limited to 'SendGrid/SendGridMail/ISendGrid.cs')
-rwxr-xr-x | SendGrid/SendGridMail/ISendGrid.cs | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/SendGrid/SendGridMail/ISendGrid.cs b/SendGrid/SendGridMail/ISendGrid.cs index 81952d3..a292edc 100755 --- a/SendGrid/SendGridMail/ISendGrid.cs +++ b/SendGrid/SendGridMail/ISendGrid.cs @@ -31,7 +31,7 @@ namespace SendGridMail MailAddress[] Cc { get; }
MailAddress[] Bcc { get; }
MailAddress[] ReplyTo { get; set; }
- Attachment[] Attachments { get; set; }
+ String[] Attachments { get; set; }
String Subject { get; set; }
Dictionary<String, String> Headers { get; set; }
IHeader Header { get; set; }
@@ -120,20 +120,6 @@ namespace SendGridMail /// </summary>
/// <param name="filePath"></param>
void AddAttachment(String filePath);
- /// <summary>
- /// Add an attachment to the message
- /// The 'attachment' paramater expects an argument of the Attachment type.
- /// </summary>
- /// <param name="attachment"></param>
- void AddAttachment(Attachment attachment);
- /// <summary>
- /// Add an attachment to the message
- /// The 'attachment' paramater expects an argument of the Attachment type.
- /// The 'type' parameter expects an argument of the ContentType type.
- /// </summary>
- /// <param name="attachment"></param>
- /// <param name="type"></param>
- void AddAttachment(Stream attachment, ContentType type);
/// <summary>
/// GetRecipients returns a list of all the recepients by retrieving the to, cc, and bcc lists.
|