Add Attachments to an Email Using the Script API's dw.net.Mail Class

With the new addAttachment(dw.io.File file) method, you can easily add one or more attachments to an outgoing email. Previously, this class did not provide a way to add attachments to emails.

Where: This change applies to B2C Commerce.

See Also