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

Fix: e-mail attachments problems #31

Closed
wants to merge 1 commit into from

Conversation

carlosbet
Copy link
Contributor

Based (but adapted and improved) on my old changes at sourceforge:
@see: https://sourceforge.net/u/cbello/netimplicitssl/ci/3d8ac39620390e9ff7f8c1fbaf1ab55f2d94fc4f/

I was asked to make a pull request of my changes, but I'm never did it.
Sorry.

  • Small fixes in e-mail attachment headers.
  • Used attachment.name property instead of FileName for set the
    attachment name.
  • Now we can use ignored property NameEncoding for set encoding of the
    attachment name.
  • Refactor constructors of MimeAttachment class. Note: ContentType
    property it's initialized in the base class constructors and should not
    be reassigned.

With these changes, works in the similar way as the original
System.Net.Mail does and fix #6

Based (but adapted and improved) on my old changes at sourceforge:
@see: https://sourceforge.net/u/cbello/netimplicitssl/ci/3d8ac39620390e9ff7f8c1fbaf1ab55f2d94fc4f/

I was asked to make a pull request of my changes, but I'm never did it.
Sorry.

- Small fixes in e-mail attachment headers.
- Used attachment.name property instead of FileName for set the
attachment name.
- Now we can use ignored property NameEncoding for set encoding of the
attachment name.
- Refactor constructors of MimeAttachment class. Note: ContentType
property it's initialized in the base class constructors and should not
be reassigned.

With these changes, works in the similar way as the original
System.Net.Mail does and fix nilnull#6
@carlosbet carlosbet closed this Jul 26, 2022
@carlosbet carlosbet deleted the fixAttachments branch July 26, 2022 08:40
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

Successfully merging this pull request may close these issues.

Be able to use streams as attachments [sf#7]
1 participant