MozillaZine

Command line arguments - Thunderbird

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 19:33, 18 January 2006
Tanstaafl (Talk | contribs)
(reworded text about v1.5 bug)
<-- Previous diff
Revision as of 04:53, 19 January 2006
Wintogreen (Talk | contribs)
(tidying; note that In-house style says pathnames should use <tt>)
Next diff -->
Line 5: Line 5:
* [http://www.mozilla.org/projects/firefox/extensions/commandlineoptions.html Command line arguments for the extension manager]. It's used for a number of troubleshooting or system administration tasks such as running in [[Safe Mode]]. * [http://www.mozilla.org/projects/firefox/extensions/commandlineoptions.html Command line arguments for the extension manager]. It's used for a number of troubleshooting or system administration tasks such as running in [[Safe Mode]].
-* The ''-profile "path"'' command line argument to specify the location of the profile. It's used to run Thunderbird with the specified profile regardless of whether the [[Profile Manager]] knows about that profile's existence. It's described in more detail in [[Running from a_ USB drive (Thunderbird) | the writeup on USB drive support]] but it does not require a USB drive. Its useful if you're a roaming user or Thunderbird somehow lost track of your profile (perhaps due to your system crashing) and you want to verify the profile is still good before trying to fix the problem. Example: ''"C:\Program Files\Mozilla Thunderbird\thunderbird.exe" -profile e:\my_profile'' will launch Thunderbird with the profile stored at e:\my_profile. A quick sanity check is that e:\my_profile should contain your prefs.js file. Note however that you normally cannot [[Run multiple copies of Thunderbird at the same time|start Thunderbird with a second profile]] if Thunderbird is already running.+* The ''-profile "path"'' command line argument to specify the location of the profile. It's used to run Thunderbird with the specified profile regardless of whether the [[Profile Manager]] knows about that profile's existence. It's described in more detail in [[Running from a_ USB drive (Thunderbird) | the writeup on USB drive support]] but it does not require a USB drive. Its useful if you're a roaming user or Thunderbird somehow lost track of your profile (perhaps due to your system crashing) and you want to verify the profile is still good before trying to fix the problem. Example: ''"C:\Program Files\Mozilla Thunderbird\thunderbird.exe" -profile e:\my_profile'' will launch Thunderbird with the profile stored at <tt>e:\my_profile</tt>. A quick sanity check is that <tt>e:\my_profile</tt> should contain your [[prefs.js]] file. Note however that you normally cannot [[Run multiple copies of Thunderbird at the same time|start Thunderbird with a second profile]] if Thunderbird is already running.
-The -compose command line argument doesn't work correctly in Thunderbird v1.5 due to a parsing [https://bugzilla.mozilla.org/show_bug.cgi?id=316177 bug]. It generates the compose message window but none of the fields are filled in. The only workaround is to use a mailto: URL. However, this prevents you from passing an attachment due to a security restriction.+==Issues==
-''thunderbird -compose "mailto:somebody@somewhere?cc=address@provider&subject=hi&body=something"'' +The ''-compose'' command line argument doesn't work correctly in Thunderbird 1.5 due to a parsing [https://bugzilla.mozilla.org/show_bug.cgi?id=316177 bug]. It generates the compose message window but none of the fields are filled in. The only workaround is to use a mailto: URL. However, this prevents you from passing an attachment due to a security restriction.
 + 
 +''thunderbird -compose "<nowiki>mailto:somebody@somewhere?cc=address@provider&subject=hi&body=something</nowiki>"''
==See also== ==See also==

Revision as of 04:53, 19 January 2006

Thunderbird supports the following command line arguments:

  • All of the Mozilla command line arguments that aren't browser specific. Notice the syntax section at the bottom of that writeup. You can use -compose message_options to have it bring up the compose message window and fill in everything for you, but you still need to press the Send button to actually send the message.
  • The -profile "path" command line argument to specify the location of the profile. It's used to run Thunderbird with the specified profile regardless of whether the Profile Manager knows about that profile's existence. It's described in more detail in the writeup on USB drive support but it does not require a USB drive. Its useful if you're a roaming user or Thunderbird somehow lost track of your profile (perhaps due to your system crashing) and you want to verify the profile is still good before trying to fix the problem. Example: "C:\Program Files\Mozilla Thunderbird\thunderbird.exe" -profile e:\my_profile will launch Thunderbird with the profile stored at e:\my_profile. A quick sanity check is that e:\my_profile should contain your prefs.js file. Note however that you normally cannot start Thunderbird with a second profile if Thunderbird is already running.

Issues

The -compose command line argument doesn't work correctly in Thunderbird 1.5 due to a parsing bug. It generates the compose message window but none of the fields are filled in. The only workaround is to use a mailto: URL. However, this prevents you from passing an attachment due to a security restriction.

thunderbird -compose "mailto:somebody@somewhere?cc=address@provider&subject=hi&body=something"

See also