Click or drag to resize
EmailAttachmentInfoProviderAddAttachmentsToMailMessage Method

Note: This API is now obsolete.

Appends all attachments of specified queued e-mail to mail message.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Not intended for public use. Will be removed in next major release. Attachments are added to a mail automatically during sending or CMS.EmailEngine.EmailAttachmentInfoProvider.GetEmailAttachmentInfos() methods can be used to retrieve attachments manually.")]
public static void AddAttachmentsToMailMessage(
	int emailInfoId,
	MailMessage mm
)

Parameters

emailInfoId
Type: SystemInt32
EmailInfo ID
mm
Type: System.Net.MailMailMessage
MailMessage object
See Also