Learn More, Pay Less!
Limited Time Offer!
Open Closed

Problem sending emails #8680


User avatar
0
vaturix created

It says the mail was sent successfully but it returns 204 and my mail is not sent. What should I do about this?


5 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi,

    May I ask what UI are you using?

    Is it any error logs or scrrenshot.

    Please check this document https://abp.io/docs/9.0/framework/infrastructure/emailing if it is helpful for you

    Thank you

  • User Avatar
    0
    vaturix created

    When we try to send an e-mail to any user from here, it says it was sent successfully and no error message appears in the console. Is there an additional setting we need to make here?

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi,

    https://abp.io/docs/9.0/framework/infrastructure/emailing#email-settings

    Have you check this document you have follow that steps that given in document.

    Also share this details

    ABP Framework version: xxxx
    UI Type: xxxxx
    Database System: xxxxxx
    

    Thank you.

  • User Avatar
    0
    vaturix created

    Here, in which layer in DDD should I install the Volo.ABP.Emailing package? Domain, Web, Application etc.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello

    In Domain-Driven Design (DDD) and the ABP framework, the Volo.ABP.Emailing package should typically be installed in the Application layer.

    • Domain Layer: This layer contains the core business logic and domain entities. It should be free of infrastructure concerns, such as sending emails.

    • Application Layer: This layer is responsible for orchestrating the application’s use cases and interacting with the domain layer. It can include services that handle sending emails, which is a cross-cutting concern. Therefore, it is appropriate to use the Volo.ABP.Emailing package here to manage email sending functionality.

    • Web Layer: This layer is primarily concerned with handling HTTP requests and responses. While it may call services from the Application layer, it should not directly handle email sending logic.

    Thank you.

Made with ❤️ on ABP v9.2.0-preview. Updated on February 07, 2025, 05:40