Copied to clipboard

Flag this post as spam?

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


  • Vitaly Vasilega 65 posts 187 karma points
    Dec 18, 2014 @ 18:27
    Vitaly Vasilega
    0

    Save an email message to a folder

    Hi guys,

    Everyone knows that if you set the following settings in the Web.config file:

    <system.net>
        <mailSettings >
          <smtp deliveryMethod="SpecifiedPickupDirectory">
            <specifiedPickupDirectory pickupDirectoryLocation="d:\Websites\!Smtp" />
          </smtp>
        </mailSettings>
      </system.net>

    and then you attempt to send mail using SmtpMail, the message will be saved in the folder.

    For some reason this does not work on Merchello. There is a chance that the email is not sent, but there is a code:

    Notification.Trigger("OrderConfirmation", attempt, new[] { preparation.GetBillToAddress().Email });

    How can I check that email is formed?

    Thanks.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Dec 18, 2014 @ 19:07
    Rusty Swayne
    100

    The SMTP settings are configured on the provider in the back office. Looks like we need to make it so if the implementer chooses, the web.config values should be used (so no configuration in the SmtpClient). http://issues.merchello.com/youtrack/issue/M-542

    This is an oversight on my part - I typically just have the application send me an email ;-)

  • Vitaly Vasilega 65 posts 187 karma points
    Dec 18, 2014 @ 19:27
    Vitaly Vasilega
    0

    Thank you,I will wait for a fix.

Please Sign in or register to post replies

Write your reply to:

Draft