Send multiple attachments in an email using QueuedEmail class

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hello there

I am using nopCommerce 4.00 and I want to send two PDF files using QueuedEmail class but it does not seem possible. Currently, I only see an AttachmentFilePath attribute which is a string.

I'd like to have a confirmation about that thought.

Best regards
5 years ago
Hi,

When you look at EmailSender.cs under Nop.Services.Messages namespace, it clearly explains that nopCommerce does not support attaching two files in a single email. However, "attachedDownloadId" variable says "Attachment download ID (another attachedment)".

So, to achieve what you said, I think you can either extend this method or write you own.

Thank you,
Atul
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.