When I try to open email Compose from command line, 'from=' option is ignored
Categories
(SeaMonkey :: MailNews: Composition, defect)
Tracking
(seamonkey2.53+ fixed, seamonkey2.57esr? affected)
People
(Reporter: dev, Assigned: iannbugzilla)
References
Details
(Whiteboard: SM2.53.8)
Attachments
(1 file, 1 obsolete file)
20.17 KB,
patch
|
frg
:
review+
frg
:
approval-comm-release+
frg
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.1 Lightning/5.8.1
Steps to reproduce:
I have several email accounts on SeaMonkey Mail client.
From command line (linux) I want to open a new composer window with "From" field being one specific email (ex.: myemail5@example.com) of my accounts. I run the command:
seamonkey -compose "from='myemail5@example.com',to='to email <toemail@example.com>',subject='the subject',body='the body'"
Actual results:
Composer window opens with filled "to", "subject" and "body" as provided in command line. For "from" it uses my first added email account. Any other tries I did (using only from as option/ using the email/ using the email with my name) , from is ignored. This was also happening in SeaMonkey 2.48 / 2.49
Expected results:
It should have use the "from" email, as command " seamonkey --help " suggests.
Just now, as I was going to submit the bug, I discovered this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=630804#c2
which mentions the option "preselectid=" which isn't shown in the --help output. I tried all numbers from 1 to 10 without success. I wrote " about:config " in the address bar, and searched for my email. I got several lines, but from line with "Preference Name" mail.identity.id5.useremail, I got "id5" and I did my command as:
seamonkey -compose "preselectid=id5,to='to email <toemail@example.com>',subject='the subject',body='the body'"
From is still ignored, but this trick did the job.
Two suggestions:
- update of --help message to show "preselectid" option.
- support of from, as I saw that works for thunderbird.
Comment 1•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is --
(Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to --
(default, untriaged.)
Port to SeaMonkey the relevant parts of the following bugs:
- Bug 394216 - Search for correct identity when draft identity key does not match From: address.
- Bug 882104 - Implement command line option to read message body from file.
- Bug 1266916 - Obey paragraph mode in new message invoked from mailto: URL.
- Bug 1310738 - Improve user experience for email creation on command line.
- Bug 1336531 - Don't put <br> before signatures in paragraph mode.
- Bug 1482058 - fix 'edit as new message' not working when identity email is null.
[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: certain arguments are ignored from the command line
Testing completed (on m-c, etc.): 2.53.7
Risk to taking this patch (and alternatives if risky): none
String changes made by this patch: 4 new strings
Changes since last version:
- Fix error message when strict JS is enabled.
Comment 5•4 years ago
|
||
Comment on attachment 9204402 [details] [diff] [review]
1628671-from-compose-v1_1-2538.patch
lgtm r/a+
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/3a5d89777fa4
When I try to open email Compose from command line, 'from=' option is ignored. r=frg
Updated•4 years ago
|
Comment 7•4 years ago
|
||
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/91b153c29c6e1637176ca4c4f719759a63a989e1
When I try to open email Compose from command line, 'from=' option is ignored. r=frg a=frg
Description
•