Hi I have created the profile for email send functionality in uCommerce. How I can set the attachment for that email? I want to send email with pdf file attachment. I am using ucommerce email like
var emailService = ObjectFactory.Instance.Resolve<UCommerce.Transactions.IEmailService>();
-
-
emailService.Send(localizationContext, emailProfile, "abc", new MailAddress(abcEmail), queryStringParams);
It is not possible to add attachments in the standard uCommerce solution.
However, you can create a new email service, by implementing the IEmailService interface, or just inherit from the existing EmailService, and then override the Send method.
You can configure the email service in the /Umbraco/ucommerce/Configuration/core.config file.
How to send email with attachment in Ucommerce?
Hi
I have created the profile for email send functionality in uCommerce. How I can set the attachment for that email?
I want to send email with pdf file attachment. I am using ucommerce email like
var emailService = ObjectFactory.Instance.Resolve<UCommerce.Transactions.IEmailService>();
-
-
emailService.Send(localizationContext, emailProfile, "abc", new MailAddress(abcEmail), queryStringParams);
Thanks.
Hi Girish,
It is not possible to add attachments in the standard uCommerce solution. However, you can create a new email service, by implementing the IEmailService interface, or just inherit from the existing EmailService, and then override the Send method.
You can configure the email service in the /Umbraco/ucommerce/Configuration/core.config file.
Hope that helps,
Lars
is working on a reply...