Class MailingHelper
Provides helper methods for working with mails
Inheritance
System.Object
MailingHelper
Namespace: Simplic.Framework.Mailing
Assembly: Simplic.Framework.dll
Syntax
public class MailingHelper : object
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 |
---|---|---|
MailMessage | msg | MailMessage instance |
IDictionary<System.String, System.Byte[]> | attachments | Dictionary, containing the information from src="" and the blob which belongs to the path |