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

Attachment name Issue #22

Closed
xvweirong opened this issue Apr 2, 2013 · 4 comments
Closed

Attachment name Issue #22

xvweirong opened this issue Apr 2, 2013 · 4 comments
Assignees
Milestone

Comments

@xvweirong
Copy link

I am using jodd-3.4.2 to send email. The attachment name is in Chinese. The email was successfully sent out with attachment, but the name of attachment shown in the email displayed wrong.
Following is the code how attachment attached.

.attach(EmailAttachment.attachment().file('c:\\temp\\中文.csv'))

But in the email, the attachment name was changed from '中文.csv' to '-�.csv'

My environment

  • jodd-3.4.2
  • Windows 7 64-bit edition with java version "1.6.0_33"
  • Java HotSpot(TM) 64-Bit Server VM.
  • System.getProperty("file.encoding") --> GBK
@ghost ghost assigned igr Apr 2, 2013
@igr
Copy link
Member

igr commented Apr 2, 2013

Thank you in your interest in Jodd and for reporting the bug!

We will fix this issue immediately!

Stay tuned!

@igr igr closed this as completed in 14902f6 Apr 2, 2013
@igr
Copy link
Member

igr commented Apr 2, 2013

We have made a fix, would you be so kind to test it? It works for our tests, but still... 😄

We have uploaded latest beta just now, and should be available on maven too.

Thank you!

@igr
Copy link
Member

igr commented Apr 2, 2013

p.s. just be sure to use mail.jar >= v1.4.4

@xvweirong
Copy link
Author

Sorry for late reply. It works very well. Thank you so much!

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

No branches or pull requests

2 participants