-
Notifications
You must be signed in to change notification settings - Fork 169
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
Html Helpers not working from console application #165
Comments
Hi, It seems like the issue lies in integrating Postal for sending emails in a console application. In your console application, ensure that the path to your view in 'FileSystemRazorViewEngine' is correct and Best Golf accessible. Additionally, confirm that the required dependencies and configurations for Postal are properly set up in the console application. Best regards. |
Hi, |
Have you checked if the console application has access to necessary resources, such as the tyre pressure image files, and if there are any differences in how Postal is configured between the two applications? That could help pinpoint the issue. |
Had the same issue! Switching to a web context explore fixed it for me. Anyone found a console-specific workaround. |
Hi,
I have one console application and one mvc web application.
That two application use one common class library to send mail using postal.
From web its working send email with html embedding image but in console application its not working.
I have do as per below
Class Library Project :
PostalEmailSenderService.cs
FileWeb Application Project :
Console Application Project :
Emails\Example.cshtml - This file is in my web application.
Web application and Console Application use Same View is in Web Application.
So please tell me how to do this ?
Thanks
The text was updated successfully, but these errors were encountered: