Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

How to pass new line between parameters in message body from command line

  • 3 wótegrona
  • 1 ma toś ten problem
  • 55 naglědow
  • Slědne wótegrono wót Zenos

Hi All,

Is it possible to pass a new line in message body when sending mail from command line.

I'm using it like this: cmd /k C:\"Program Files (x86)"\"Mozilla Thunderbird"\thunderbird.exe -compose "to='test@test.com', subject='sbj', preselectid='id1', body='parameter1 parameter2'"

And what I want to do is when I receive this email to have a parameter2 from body in new line, like this:

parameter1

parameter2

Does anyone know if it is possible and how?

Thanks in Advance

Hi All, Is it possible to pass a new line in message body when sending mail from command line. I'm using it like this: cmd /k C:\"Program Files (x86)"\"Mozilla Thunderbird"\thunderbird.exe -compose "to='test@test.com', subject='sbj', preselectid='id1', body='parameter1 parameter2'" And what I want to do is when I receive this email to have a parameter2 from body in new line, like this: parameter1 parameter2 Does anyone know if it is possible and how? Thanks in Advance

Wót daliborg změnjony

Wšykne wótegrona (3)

include a carriage return character in your string.

I have tried, but it displays it as normal text in new email window.

What have you tried? These are some guesses:

\n \r %0a %0d

I'm not sure what works in that environment.

Wót Zenos změnjony