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 | 29ccc23f23a19e917f5de932585d9b5d7583c0b5 (patch) | |
tree | 5a3fd5248c1d79c66efd051ebb026906233d4d5a /SendGrid/SendGridMail/ISendGrid.cs | |
parent | 2c5852543af4cb5ca58a177d62044eb1152f731e (diff) | |
download | sendgrid-csharp-29ccc23f23a19e917f5de932585d9b5d7583c0b5.zip sendgrid-csharp-29ccc23f23a19e917f5de932585d9b5d7583c0b5.tar.gz sendgrid-csharp-29ccc23f23a19e917f5de932585d9b5d7583c0b5.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.
|