We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

How to start Thunderbird with mailto info and make it non-interactively send the email?

  • 1 valiny
  • 1 manana an'ity olana ity
  • 1 view
  • Valiny farany nomen'i sfhowes

I have code that successfully launches my email program (Thunderbird) with the desired info. Problem is the email program sits there and waits for someone to hit the Send button. My essential code that works so far does the following:

"C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" mailto:foo@gmail.com?subject=Test...&body=Wee!!!

Problem is Thunderbird waits for the Send button to be hit. Is there a way to make it automatically do the Send? Perhaps a global switch? If Thunderbird would just send the email and then terminate, that would be perfect.

I have code that successfully launches my email program (Thunderbird) with the desired info. Problem is the email program sits there and waits for someone to hit the Send button. My essential code that works so far does the following: "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" mailto:foo@gmail.com?subject=Test...&body=Wee!!! Problem is Thunderbird waits for the Send button to be hit. Is there a way to make it automatically do the Send? Perhaps a global switch? If Thunderbird would just send the email and then terminate, that would be perfect.

All Replies (1)

I think that's answered here, namely, you can't.