Copied to clipboard

Flag this post as spam?

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


  • Marcus Guedes 5 posts 25 karma points
    Sep 12, 2024 @ 11:53
    Marcus Guedes
    0

    Transaction Emails Not Sending in Umbraco Commerce – No Errors in Logs

    Hi everyone,

    I'm facing an issue with transaction emails in Umbraco Commerce. Whenever an order is placed, the emails are not being sent. Everything seems to be set up correctly, and I’ve double-checked the logs—there are no errors or exceptions anywhere. The emails simply don’t reach the destination (and yes, I’ve checked the spam folder too).

    Here’s what I’ve checked so far:

    SMTP Configuration: I’m confident the SMTP settings are correct. I even created a simple console app to send a test email using the same config, and that worked perfectly. Umbraco Commerce UI: When using the UI to trigger email sending, it reports that the email was sent, but the email never actually arrives. Logs: There are no warnings, errors, or any signs of issues in the Umbraco or server logs related to the email sending process. I feel like I’ve hit a wall here and don’t know what else to check. Has anyone encountered this before or have suggestions for troubleshooting?

    Some specific questions I have:

    Could this be a configuration issue inside Umbraco Commerce that I’m overlooking? Are there any specific settings or email templates in Umbraco Commerce that could prevent emails from sending? Could there be something in the way Umbraco handles SMTP or email queuing that isn't obvious in the logs? Is there any way to enable more detailed logging for the email sending process, specifically for Umbraco Commerce, to dig deeper into what’s happening? Any ideas or tips would be much appreciated!

    Thanks in advance for your help!

    trying to sent email using web ui

  • Marcus Guedes 5 posts 25 karma points
    Sep 12, 2024 @ 14:21
    Marcus Guedes
    0

    I’ve enabled verbose logging and gathered some key records from the process of sending the transaction email. Here’s the cleaned-up log showing the relevant steps:

    [11:08:26 INF] Request starting HTTP/2 POST https://localhost:44387/umbraco/backoffice/umbracocommerce/umbracocommerceemail/SendOrderEmail - application/json;charset=UTF-8 163

    [11:08:26 INF] Executing endpoint 'Umbraco.Commerce.Cms.Web.Controllers.UmbracoCommerceEmailController.SendOrderEmail (Umbraco.Commerce.Cms.Web)'

    [11:08:26 INF] Route matched with {area = "umbracoCommerce", action = "SendOrderEmail", controller = "UmbracoCommerceEmail". Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult SendOrderEmail(Umbraco.Commerce.Cms.Web.Models.SendOrderEmailDto) on controller Umbraco.Commerce.Cms.Web.Controllers.UmbracoCommerceEmailController.

    [11:08:27 INF] Executed action method Umbraco.Commerce.Cms.Web.Controllers.UmbracoCommerceEmailController.SendOrderEmail, returned result Microsoft.AspNetCore.Mvc.OkResult in 348.3455ms.

    [11:08:27 INF] Request finished HTTP/2 POST https://localhost:44387/umbraco/backoffice/umbracocommerce/umbracocommerceemail/SendOrderEmail - 200 0 null 353.7828ms

  • Marcus Guedes 5 posts 25 karma points
    Sep 17, 2024 @ 09:39
    Marcus Guedes
    0

    the problem was on the sender e-mail, Umbraco Commerce overrides the sender address with that configured in the given email templates settings. You’ll need to update the email templates sender address to be the address you wish to use.

    Email templates are configured at “Settings > Stores > Your Store > Templating > Email Templates”

Please Sign in or register to post replies

Write your reply to:

Draft