[PATCH] Fixing multiple email attachments with thunderbird on linux

Arno Teigseth arno at teigseth.no
Sat Jul 21 20:08:02 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This fixes an issue with thunderbird on linux:

When using XSimpleMailMessage and attaching more than one attachment,
thunderbird picked up just one of the attached files.

Reason was that the file:// part should be enclosed in 's. Not
documented on mozilla's spec, as far as I can see (ambigous, at least).

example:
thunderbird -compose
to=a at b.c,subject=t,attachment=file:///tmp/1.doc,file:///tmp/2.doc

didn't work, while this works:
thunderbird -compose
to=a at b.c,subject=t,attachment='file:///tmp/1.doc,file:///tmp/2.doc'

best
Arno
- -- 
Attached is my digital signature. If your email program can't display
it, you don't need it.
Min digitale signatur er vedlagt. Du trenger den ikke hvis ikke
epostprogrammet ditt kan vise den.
Mi firma digital está adjunta. Si su programa de correos no lo puede
mostrar, significa que no lo necesita.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlALbpIACgkQEMIGVCc8BjCGZACaA4SbJu7xKawlRtnCW5QyFxfO
ZlgAn2QmZhX3OW8PZS4yX9+qtGzK3LTA
=YvXT
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-multiple-attachment-passing-to-thunderbird-fil.patch
Type: text/x-patch
Size: 969 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120721/63384ab4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-multiple-attachment-passing-to-thunderbird-fil.patch.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120721/63384ab4/attachment.obj>


More information about the LibreOffice mailing list