Open Closed

Send email to tenant admin on tenant creation #5042


User avatar
0
geegee created

When a tenant is created, we would like to send an email, an account confirmation email, to the tenant admin email address, so that they can verify/confirm their email address. Once they confirm their email we would then activate the tenant. How can we go about this? Send email to tenant admin on tenant creation.

  • ABP Framework version: vX.X.X
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

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

    hi

    Send email to tenant admin on tenant creation.

    We will add this feature in the next version. You question credits refunded.

    Thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Once they confirm their email we would then activate the tenant.

    You need to implement this yourself.

  • User Avatar
    0
    geegee created

    Thank you.

  • User Avatar
    0
    geegee created

    You mentioned that this email sending feature will be in the next version, I would like to request for some clarity regarding which version number?

    v8 or a v7.x path version?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    7.3

  • User Avatar
    0
    geegee created

    Thanks. Appreciate the quick response.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We can't handle the tenant-create event on the account module, but we can add an IDistributedEventHandler<TenantCreatedEto> on the template project to get admin user of a tenant and send the mail.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07