Class MailAttachmentManager
Manager for Email Attachments
Inheritance
System.Object
MailAttachmentManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Mailing
Assembly: Simplic.Framework.dll
Syntax
public class MailAttachmentManager
Methods
| Improve this Doc View SourceDeleteAllAttachmentsByMailQueueId(Int64)
Deletes all MailQueueItem's sttachments
Declaration
public bool DeleteAllAttachmentsByMailQueueId(long mailQueueId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | mailQueueId |
Returns
Type | Description |
---|---|
System.Boolean |
GetAllByMailQueueId(Int64)
Returns a list of MailAttachment's belonging to the given MailQueueItem
Declaration
public IList<MailAttachment> GetAllByMailQueueId(long mailQueueId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | mailQueueId |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<MailAttachment> |
SaveAttachments(Int64, IList<MailAttachment>)
Saves a list of Attachments for the given MailQueue
Declaration
public bool SaveAttachments(long mailQueueId, IList<MailAttachment> attachments)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | mailQueueId | |
System.Collections.Generic.IList<MailAttachment> | attachments |
Returns
Type | Description |
---|---|
System.Boolean |