-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emails not working in production when publishing to IIS #52
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
When publishing to IIS, email are not sent.
var projectPath = Directory.GetParent(Directory.GetCurrentDirectory()).FullName;
var templateProject = Assembly.GetExecutingAssembly().GetName().Name;
_templatesPath = Path.Combine(projectPath, templateProject, "Templates");
This code section is not returning the correct path. When publishing, Templates folder is generated directly in the application directory, but the program is looking into the wwroot\Application\Templates folder.
Thanks
The text was updated successfully, but these errors were encountered: