Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

How can you have TB send mail automatically without the compose screen coming up when using the -compose command line option?

  • 1 reply
  • 2 have this problem
  • 1 view
  • Last reply by Matt

more options

I'm using some scripts to automatically create an e-mail and send it using thunderbird and the -compose command line option. All works fine but I always get the compose screen and have to manually hit "send" button to get the message send. The idea is to send the message right away as all the info is already available (to= ,subject= ,body= ,attachment= etc...)

Is there a switch line sendnow or something along that line????

Thank you.

I'm using some scripts to automatically create an e-mail and send it using thunderbird and the -compose command line option. All works fine but I always get the compose screen and have to manually hit "send" button to get the message send. The idea is to send the message right away as all the info is already available (to= ,subject= ,body= ,attachment= etc...) Is there a switch line sendnow or something along that line???? Thank you.

Chosen solution

Thunderbird does not send mail without providing a visual feedback in the style of a send button. There is no option for automation. It is one of the reasons hackers do not target it for sending spam.

I suggest you communicate directly with the relevant SMTP server instead of using a mail client.

Perhaps PHP http://www.inmotionhosting.com/support/website/sending-email-from-site/using-the-php-mail-function-to-send-emails

Or javascript https://www.emailjs.com/

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

Thunderbird does not send mail without providing a visual feedback in the style of a send button. There is no option for automation. It is one of the reasons hackers do not target it for sending spam.

I suggest you communicate directly with the relevant SMTP server instead of using a mail client.

Perhaps PHP http://www.inmotionhosting.com/support/website/sending-email-from-site/using-the-php-mail-function-to-send-emails

Or javascript https://www.emailjs.com/