Skip to content
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

crashes on macOS - cannot write to disk #362

Open
RoseApollo opened this issue Jan 17, 2023 · 2 comments
Open

crashes on macOS - cannot write to disk #362

RoseApollo opened this issue Jan 17, 2023 · 2 comments

Comments

@RoseApollo
Copy link

crashes on macOS saying that disk is read-only, this happens for both .send() and .SendAsync()

I am using .net 6.0, and visual studio for Mac to build

Unhandled exception. System.IO.IOException: Read-only file system : '/2023-01-17_17-05-04_500'
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at FluentEmail.Core.Defaults.SaveToDiskSender.SaveEmailToDisk(IFluentEmail email)
   at FluentEmail.Core.Defaults.SaveToDiskSender.SendAsync(IFluentEmail email, Nullable`1 token)
   at FluentEmail.Core.Defaults.SaveToDiskSender.Send(IFluentEmail email, Nullable`1 token)
   at FluentEmail.Core.Email.Send(Nullable`1 token)
FluentEmail.Core.Email
    .From("[email protected]")
    .To("[email protected]")
    .Subject("example")
    .Body("example")
    .Send();
@Willmish
Copy link

same issue here

@nauticalcoder
Copy link

Has anyone found a resolution for this? I am also running into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants