Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Make Thunderbird Default Mail Client

Featured Replies

Hello,

I've searched during two hours now on the net a simple method to get Thunderbird 1.5 (or 2.0 beta2 if you prefer) my default make client.

I've found this :

SET KEY=HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Mozilla Thunderbird

REG ADD HKEY_CURRENT_USER\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird"
REG ADD HKEY_USERS\.Default\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird"

REG ADD "%KEY%" /ve /t REG_SZ /D "Mozilla Thunderbird" /f
REG ADD "%KEY%" /v "DLLPath" /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\mozMapi32.dll" /f
REG ADD "%KEY%\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe,0" /f
REG ADD "%KEY%\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -mail" /f
REG ADD "%KEY%\shell\properties" /ve /t REG_SZ /D "Thunderbird &Options" /f
REG ADD "%KEY%\shell\properties\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -options" /f
REG ADD "%KEY%\protocols\mailto" /ve /t REG_SZ /D "URL:MailTo Protocol" /f
REG ADD "%KEY%\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD "%KEY%\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe,0" /f
REG ADD "%KEY%\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%PROGRAMFILES%\Mozilla Thunderbird Beta 2\thunderbird.exe -compose" /f

But it doesn't work. Thunderbird still ask me if i want it to be my default mail client on first launch. I've heard about this method too :

thunderbird.exe -silent -nosplash -setDefaultMail

But it just launch Thunderbird. It doesn't make it my default mail client.

Do you know guys a way to do that ?

Thank you,

Kal

Edited by kal

  • Author

I solved it by making my own registry setting.

Here is the file :

thunderbird.cmd:

SET KEY=%CLIENTS%\Mail\Mozilla Thunderbird
SET CLIENTS=HKEY_LOCAL_MACHINE\SOFTWARE\Clients
SET CLASSES=HKEY_LOCAL_MACHINE\SOFTWARE\Classes

REG ADD HKEY_CURRENT_USER\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird" /f
REG ADD HKEY_USERS\.Default\Software\Clients\mail /ve /t REG_SZ /D "Mozilla Thunderbird" /f

REG ADD "%KEY%" /ve /t REG_SZ /D "Mozilla Thunderbird" /f
REG ADD "%KEY%" /v "DLLPath" /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\mozMapi32.dll" /f
REG ADD "%KEY%\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD "%KEY%\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -mail" /f
REG ADD "%KEY%\shell\properties" /ve /t REG_SZ /D "Thunderbird &Options" /f
REG ADD "%KEY%\shell\properties\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -options" /f
REG ADD "%KEY%\protocols\mailto" /ve /t REG_SZ /D "URL:MailTo Protocol" /f
REG ADD "%KEY%\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD "%KEY%\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD "%KEY%\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -compose" /f


REG DELETE %CLASSES%\mailto\ /v "EditFlags" /f

REG ADD %CLASSES%\.eml /ve /t REG_SZ /D "" /f
REG ADD %CLASSES%\.eml\DefaultIcon /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD %CLASSES%\.eml\shell\open\command /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE \"%%1\"" /f

REG ADD %CLASSES%\CLSID\{29F458BE-8866-11D5-A3DD-00B0D0F3BAA7}\LocalServer32 /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE /MAPIStartUp" /f

REG ADD %CLASSES%\mailto /ve /t REG_SZ /D "URL:MailTo Protocol" /f
REG ADD %CLASSES%\mailto /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD %CLASSES%\mailto\DefaultIcon /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD %CLASSES%\mailto\shell\open\command /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -compose %%1" /f

REG ADD "%CLIENTS%\Mail" /ve /t REG_SZ /D "Mozilla Thunderbird" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird" /v "DLLPath" /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\mozMapi32.dll" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml" /ve /t REG_SZ /D "" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml" /v "Content Type" /t REG_SZ /D "message/rfc822" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\.eml\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE \"%%1\"" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\protocols\mailto" /v "URL Protocol" /t REG_SZ /D "" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\protocols\mailto\DefaultIcon" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE,0" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\protocols\mailto\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -compose %%1" /f

REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\open\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -mail" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\properties" /ve /t REG_SZ /D "" /f
REG ADD "%CLIENTS%\Mail\Mozilla Thunderbird\shell\properties\command" /ve /t REG_SZ /D "%SystemDrive%\PROGRA~1\MOZILL~1\THUNDE~1.EXE -options" /f


REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "defaultMailHasBeenSet" /t REG_SZ /D "1" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "%CLIENTS%\Mail" /t REG_SZ /D "Mozilla Thunderbird" /f
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla Thunderbird\Desktop" /v "HKEY_CURRENT_USER\Software\Clients\Mail" /t REG_SZ /D "Mozilla Thunderbird" /f

To avoid thunderbird asking me if i want to import settings from other mail client at first launch, i create a profile silently durring RunOnceExe like this :

REG ADD %KEY%55 /V 2 /D "\"%ProgramFiles%\Mozilla thunderbird\thunderbird.exe\" -CreateProfile sweet" /f

"sweet" is just a basename, and the profile directoy will get a name like this : epe9ne7d.sweet

Kal

  • 1 month later...

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.