Open Bug 351863 Opened 18 years ago Updated 2 years ago

thunderbird -remote mailto doesn't allow multiple addresses

Categories

(Thunderbird :: General, defect)

x86
Linux
defect

Tracking

(Not tracked)

People

(Reporter: rnelson, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.6) Gecko/20060728 SUSE/1.5.0.6-1.2 Firefox/1.5.0.6
Build Identifier: Thunderbird Version 1.505 (20060725)

Mozilla allows commands like:

mozilla -remote "mailto(usr1@org1.com,usr2@org1.com)"
mozilla -remote "mailto(John Q. Public<usr1@org1.com>)"

however,

thunderbird -remote "mailto(usr1@org1.com,usr2@org1.com)"

only sends to the first addressee, and

thunderbird -remote "mailto(John Q. Public<usr1@org1.com>)"

reports a parse error.

Reproducible: Always

Steps to Reproduce:
1. Start an instance of thuinderbird under linux
2. Give the commands listed above
3.

Actual Results:  
for multiple urls specified, only the first is used for a To field
for full user names specified, a parse error occurs
I can confirm thunderbird -remote "mailto(usr1@org1.com,usr2@org1.com)" only uses the first address. SeaMonkey current trunk works ok. 

thunderbird -remote "mailto(John Q. Public<usr1@org1.com>)" works fine for me 

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060909 Thunderbird/3.0a1 ID:2006090903, branch too
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: thunderbird -remote mailto doesn't allow multiple addresses or full person names → thunderbird -remote mailto doesn't allow multiple addresses
Well, I found a way to make these things work.

1. Multiple recipients in the -remote "mailto" argument.
Contrary to the documentation, a comma separated list doesn't work.  The following does:

thunderbird -remote 'mailto(<usr1@org1.com>?cc=<usr2@org2.com>&cc=<usr3@org3.com>&bcc=usr4@org4.com)'

Note how weird this is - we need a question mark as a separator between the first two addresses and an ampersand between subsequent pairs.  I have no idea why this is required.

2. Specifying user names in the "mailto" list.
It seems that "mailto" argument parsing chokes on spaces.  If you just replace them with "%20", everything is fine - here's an example:

thunderbird -remote 'mailto(John%20Doe<jdoe@org.com>)'

At the very least, these things need to be documented somewhere accessible.  I can't find any up to date documentation on the -remote options anywhere.

Bob
Keywords: mail1
Version: unspecified → 1.5
Assignee: mscott → nobody
no activity for a long time, should be closed
That's not a valid reason to close a bug.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.