Using Windows 7
Thunderbird 52.3.0
This command brings up a Thunderbird "write" window:
start /b thunderbird.exe -compose "to='XXX@gmail.com',subject='Message Subject',preselectid='YYY@gmail.com',body='Message Body'"
To send the message, I have to click on Send.
Is there a way for a batch script to get Thunderbird to send the message without displaying the "write" window, and hence without requiring a click on Send?
Automatically send message from batch command line
-
- Posts: 71
- Joined: June 11th, 2006, 7:29 pm
- Location: New Hampshire, I think
-
- Posts: 6437
- Joined: February 3rd, 2009, 6:29 pm
Re: Automatically send message from batch command line
You can generate the email from the command line, but Thunderbird still requires the send button to be clicked.
Similar thread: http://forums.mozillazine.org/viewtopic ... &t=3025179
Similar thread: http://forums.mozillazine.org/viewtopic ... &t=3025179
- BruceAWittmeier
- Posts: 3076
- Joined: June 9th, 2008, 10:53 am
- Location: Near 37.501685 -80.147967
Re: Automatically send message from batch command line
You might try something like this:
echo y | start /b mail.exe -compose "to='xxx@gmail.com',subject='Message Subject',preselectid='xxx@gmail.com',body='Message Body'"
Some additional information:
http://www.makeuseof.com/tag/3-quick-wa ... our-inbox/
echo y | start /b mail.exe -compose "to='xxx@gmail.com',subject='Message Subject',preselectid='xxx@gmail.com',body='Message Body'"
Some additional information:
http://www.makeuseof.com/tag/3-quick-wa ... our-inbox/
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.