[Users] [Bug 4298] New: --compose-from-file fails with longish (>5K) files

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Jan 28 11:54:11 CET 2020


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4298

            Bug ID: 4298
           Summary: --compose-from-file fails with longish (>5K) files
           Product: Claws Mail
           Version: 3.17.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI/Compose Window
          Assignee: users at lists.claws-mail.org
          Reporter: psychonaut at nothingisreal.com

Created attachment 2038
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2038&action=edit
Sample file to invoke with --compose-from-file

The --compose-from-file command-line option is supposed to open a new Compose
window with the headers and body pre-filled according to the contents of the
specified file.  This usually works fine, but it fails for certain files.  I
believe the problem is related to the file's length; I can consistently get
Claws Mail to fail when using --compose-from-file on a file greater than 5 or 6
KB.

Steps to reproduce:
1. Save the file attached to this bug as /tmp/foo.txt
2. Invoke claws-mail --compose-from-file /tmp/foo.txt

Observed behaviour:
3. A Compose window opens.  The "To" header is correctly filled in, but the
"From" and "Subject" header are not.  The body contains the first part of the
file, but the text gets truncated at somewhere around 5K characters.

Expected behaviour:
3. A Compose window should open.  All the headers from the file should be
correctly filled in, and the body should contain the entire message body from
the file.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list