Currently Thunderbird 2.0.0.X has known issues with attaching files from the command-line. I reported this issue upstream - and it's fixed in the latest Thunderbird 3.0b4. Currently Thunderbird does not handle filesnames with special chars very well... An example: thunderbird --compose "attachment=file:///home/gsomer/my test file with odd chars like æ ø å.txt" This will result in Thunderbird opening the "write" window correctly... You can even open the attachment by double-clicking on it. But when sending the e-mail - thunderbird fails. I've backported the patch from 3.0b4 to Thunderbird 2.0.0.21 - and successfully patched my own Thunderbird. I would suggest testing my patch - and applying it to the current Thunderbird package! With this patch the syntax is now: attachment='file:///[URL ENCODED PATH]' or attachment='/complete path/to my/file' Reproducible: Always
Created attachment 187572 [details, diff] Thunderbird attachment patch This patch makes Thunderbird able to use special chars in filenames - when attaching using commandline. It also makes thunderbird able to understand URL encoded filenames. Note. the syntax should now be: attachment='file:///[URL ENCODED PATH]' or attachment='/complete path/to/file'
Comment on attachment 187572 [details, diff] Thunderbird attachment patch File to patch: chrome:messenger.jar:content/messenger/messengercomposer/MsgComposeCommand.js
Upstream bug in URL
Thunderbird-3 is in the tree, we are working to get it ready for stable, and should be there sooner then a revision bump for 2.x branch.