This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

How can I let a script send a message regardless of thunderbird alreadey running or not?

  • 3 valiny
  • 1 manana an'ity olana ity
  • 56 views
  • Valiny farany nomen'i tpollak

more options

This is on Linux. croon is used to execute a script. This script shall use Thunderbird to send an email. How shall I call Thunderbird to provide recipient and data and send the message regardless of Thunderbird already running or not?

This is on Linux. croon is used to execute a script. This script shall use Thunderbird to send an email. How shall I call Thunderbird to provide recipient and data and send the message regardless of Thunderbird already running or not?

Vahaolana nofidina

Thunderbird is a poor match to your requirements.

While you can build a message, address it and add attachments via the command line, you can't actually tell Thunderbird to send it.

http://kb.mozillazine.org/Command_line_arguments_(Thunderbird)

Hamaky an'ity valiny ity @ sehatra 👍 1

All Replies (3)

more options

Vahaolana Nofidina

Thunderbird is a poor match to your requirements.

While you can build a message, address it and add attachments via the command line, you can't actually tell Thunderbird to send it.

http://kb.mozillazine.org/Command_line_arguments_(Thunderbird)

more options

Trying to use Thunderbird for this sounds like a silly idea to me. You can achieve this by using CLI commands. Google is your friend.

more options

Though these answers correctly describe Thunderbird's capabilities they do not solve my problem. Yes, I googled and it seems that mutt is nearest a solution. Though I have not been able to make it work yet.