Open Closed

Cannot send test email #8984


User avatar
0
dzungle created

Hello Support Team,

Please, check the error when sending test mail. I have successfully tested the same mailing configuration in version 8.3.0.

image.png

image.png

image.png


13 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can test your email configuration by this sample.

    Thanks.

    https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo

  • User Avatar
    0
    dzungle created

    Hi maliming,

    I have tested the same email configuration in ABP version 8.3.0 and it worked fine.

    But the send test mail (in Settings -> Emailing) failed with the same email configuration in ABP version 9.0.4.

    Please, check the Send test email in ABP version 9.0.4.

    Do I need any further config in ABP version 9.0.4 for sending email?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share your email configuration?

    liming.ma@volosoft.com

    I will test it in 9.0.4

  • User Avatar
    0
    dzungle created

    Hi

    I have sent you my email configuration.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I tested and it works.

    image.png

    image.png

  • User Avatar
    0
    dzungle created

    Hi

    I still cannot sent test mail in ABP v9.0.4. It seems you are using different ABP version as mime (see image below):

    image.png

    Please, check your ABP version

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share a test project with liming.ma@volosoft.com

    Thanks.

  • User Avatar
    0
    dzungle created

    Hi
    I've sent you the link to my app

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share the backend project?

    I can't see the error stack in the angular app.

    Thanks.

  • User Avatar
    0
    dzungle created

    Hi,

    I have sent you my project. Please, help me check the issue.

    Thank you

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    It works after removing options.SecureSocketOption

    image.png

  • User Avatar
    0
    dzungle created

    Hi,

    Thank you for your help.

    I am using the IMailKitSmtpEmailSender in my app. And it needs this configuration to work properly in ABP v8.3.0.
    Is this configuration needed in v9.0.4 for the IMailKitSmtpEmailSender to work properly?

    Regards

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Maybe the Mailkit library has some changes. You can test it in 9.0.4.

    Thanks.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 18, 2025, 10:42