Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

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.

Caută ajutor

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.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

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

  • 3 răspunsuri
  • 1 are această problemă
  • 7 vizualizări
  • Ultimul răspuns de Zenos

more options

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

Modificat în de daliborg

Toate răspunsurile (3)

more options

include a carriage return character in your string.

more options

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

more options

What have you tried? These are some guesses:

\n \r %0a %0d

I'm not sure what works in that environment.

Modificat în de Zenos