Skip to content

Attachment filename not being saved when converting to ToMIME822, here is the fix #7

@marspd

Description

@marspd

In MailMessage.cs when an attachment is saved then subsequently recreated it appears that the original attachment name is lost and a new random string is generated in it's place.

To fix this I changed line 269 as follows:

builder.AppendLine(string.Format("Content-Disposition: attachment; filename="{0}"", ((Attachment)view).Name));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions