Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Body text of Mozilla Thunderbird in command line compose

  • 1 amsa
  • 0 sa na da wannan matsala
  • 8 views
  • Amsa ta ƙarshe daga david

more options

I have a bat file in Windows 10:

"C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -compose "to='partner@mail.com',subject='Happy new Year',body='TextFile.txt',Attachment='AttFile.pdf'"

What is the correct syntax to get 'TextFile.txt' as body and 'AttFile.pdf' as attachment ? I have tried hundreds of ways, and no one works.

I have a bat file in Windows 10: "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -compose "to='partner@mail.com',subject='Happy new Year',body='TextFile.txt',Attachment='AttFile.pdf'" What is the correct syntax to get 'TextFile.txt' as body and 'AttFile.pdf' as attachment ? I have tried hundreds of ways, and no one works.

All Replies (1)

more options

You are asking a windows question. This URL gives some info: https://yoast.com/developer-blog/guide-mailto-links/