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

How to send attachment with hebrew filename? #28

Closed
Bmarozov opened this issue Apr 26, 2022 · 1 comment
Closed

How to send attachment with hebrew filename? #28

Bmarozov opened this issue Apr 26, 2022 · 1 comment

Comments

@Bmarozov
Copy link

I believe it has something to do with: $n_encoding = null , $f_encoding = null. But I can't figure out exactly what I'm doing wrong. Any idea on what to put there to make the filename not gibberish?

Great Library otherwise!

@Bmarozov
Copy link
Author

I just figured it out. After 2 hours (and 8 minutes after posting the question).

The last argument in addAttachment needs to be: $h_charset = 'utf8' and leave $n_encoding = null , $f_encoding = null all null

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

1 participant