Hi,
Whenever i attach files with long filenames, SwiftMailer seems to encode the filename in a way which make any space character appear as %20. Is there a way to
avoid this, as it does not look too nice?
I'm using SwiftMailer 4.
Trouble with space in long filenames
Moderators: Chris Corbyn, General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: Trouble with space in long filenames
File names need to be encoded in the mail transport. My suggestion would be to never allow filenames with spaces, or replace the spaces with dashes or underscores.