Skip to content

Conversation

@vrozkovec
Copy link

As of javax.mail 1.5.6, javax.mail.internet.MimeBodyPart contains the method
static void setFileName(MimePart part, String name)
that allows user to choose to encode the filename by MimeUtility.encodeText(name). Automatically encoding of filename should not be done in commons-email, but in javax.mail.

See issue EMAIL-138

@markt-asf markt-asf closed this May 1, 2019
@vrozkovec
Copy link
Author

@markt-asf any reason why is this closed? Current behavior is erroneous in some circumstances.

@markt-asf
Copy link

The PR was against trunk
The trunk branch was deleted as all Commons projects use maser in preference to trunk. That automatically closed all PRs against trunk.
I'll re-open this but you'll need to modify the PR to be against master rather than trunk.

@markt-asf markt-asf reopened this May 2, 2019
@vrozkovec
Copy link
Author

@markt-asf I see, thank you, will update it.

@vrozkovec vrozkovec changed the base branch from trunk to master May 2, 2019 14:43
@vrozkovec
Copy link
Author

@markt-asf Updated and also added one commit, tests pass now.

As of javax.mail 1.5.6, javax.mail.internet.MimeBodyPart contains the method
static void setFileName(MimePart part, String name)
that allows user to choose to encode the filename by MimeUtility.encodeText(name). Automatically encoding of filename should not be done in commons-email, but in javax.mail.

See issue https://issues.apache.org/jira/browse/EMAIL-138
@vrozkovec
Copy link
Author

Squashed commits to one, this PR should be good to go, if approved.

@vrozkovec vrozkovec closed this Oct 10, 2019
vipenti added a commit to vipenti/commons-email that referenced this pull request Jan 8, 2024
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.

2 participants