Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Girish 7 posts 37 karma points
    Aug 23, 2013 @ 06:13
    Girish
    0

    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.

  • Lars Horne-Mortensen 40 posts 184 karma points
    Aug 26, 2013 @ 09:53
    Lars Horne-Mortensen
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft