Hi,
using ANZ 7.1 - Core, MVC / jQuery.
When sending mail - the link for activation / reset passwork is build with localhost:
http://localhost:62114/Account/...
localhost:62114 should be replaced with actual domain.
what is wrong? something I should setup :-)
5 Answer(s)
-
0
found the problem.
web.config - ASTNETCORE_ENVIRONMENT was set to Development:
<environmentVariables> <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
changed to Production
<environmentVariables> <environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Production" />
for correct use of AppSettings.Production.json
... Next question - there is an image "link" in top left corner of activation / reset password mail - why is it red-x ? Something else I should be aware of?
-
0
Hi deltavision
This image url is calculated here https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Net/Emailing/EmailTemplateProvider.cs#L39. Could you check it this link works when you paste it in browser to view it ?
-
0
Hi ismcagdas
that works - it says something like:
https://WEBSITE/TenantCustomization/GetTenantLogo?skin=light&tenantId=2
-
0
Hi @deltavision
Then, probably email provider blocks the url for displaying the image.
-
0
This issue is closed because of no recent activity. Please open a new issue if you are still having this problem.