-
Notifications
You must be signed in to change notification settings - Fork 454
Open
Description
Hello,
I'm trying to send an email using Razor Template on my c# WinForm. It works when I run the program locally, but once I place it on network share it gives me this error:
System.IO.DirectoryNotFoundException: Could not find a part of the path '\SERVER\DIRECTORY1\DIRECTORY1\PROGRAMDIRECTORY\FluentEmail.Core.dll'.
The thing is, that the program and all the dll are actually in \SERVER\DIRECTORY1\PROGRAMDIRECTORY.
For some reason, DIRECTORY1 is being duplicated when trying to find that dll. Anyone has any idea why this happens?
If I remove the Email.DefaultRenderer = new RazorRenderer(); from the code and use a simple .Body for the email it sends without problems.
Any help would be appreciated.
Thanks
Metadata
Metadata
Assignees
Labels
No labels