surevelox / OrchardCore.Modules

Modules for Orchard Core CMS
https://surevelox.github.io/OrchardCore.Modules/
BSD 3-Clause "New" or "Revised" License
19 stars 4 forks source link

The confiration email is missing link during signup #41

Closed MikeAlhayek closed 1 year ago

MikeAlhayek commented 2 years ago

Describe the bug When a tenant signs up, the email look as follow

<p>Hi there,</p>
<p>Thank you for signing up for our services.</p>
<p>To get you started, please enter following code in verify screen.</p><br /><br />

<h3>137536 </h3><br/><br/>

<p>Alternatively you can <a href="">click here</a> to verify your account.</p> 

<p>Thank you</p>

the link is missing. Also, this email should probably be a template when one can change. Maybe also make the finish email as a template so one can change the body of the email

ns8482e commented 2 years ago

@CrestApps Email is a template that you can override

ns8482e commented 1 year ago

Link is fixed in latest RC. Email template is customizable and can be overridden by creating shape template TemplateTenantConfirmEmail with Model that hs two properties VerificationCode and ConfirmEmailUrl

smaple cshtml

@{
    Layout = "";
}

<p>@T["Hi there,"]</p>
<p>@T["Thank you for signing up for our services."]</p>
<p>@T["To get you started, please enter following code in verify screen."]</p><br /><br />

<h3>@Model.VerificationCode </h3><br/><br/>

<p>@T["Alternatively you can <a href=\"{0}\">click here</a> to verify your account.", Model.ConfirmEmailUrl]</p> 

<p>@T["Thank you"]</p>