Class MailingHelper
Provides helper methods for working with mails
Inheritance
System.Object
MailingHelper
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 MailingHelper
Methods
| Improve this Doc View SourceEmbedResourcesInMailMessage(MailMessage, IDictionary<String, Byte[]>)
Embed the resource from the attachments in the msg.
Declaration
public static void EmbedResourcesInMailMessage(MailMessage msg, IDictionary<string, byte[]> attachments)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Mail.MailMessage | msg | MailMessage instance |
System.Collections.Generic.IDictionary<System.String, System.Byte[]> | attachments | Dictionary, containing the information from src="" and the blob which belongs to the path |