Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

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

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

  • 1 reply
  • 1 has this problem
  • 1 view
  • Last reply by sfhowes

more options

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)

more options

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