Skip to main content
Participant
December 2, 2020
Question

Javascript \n character ignored in outlook mobile

  • December 2, 2020
  • 2 replies
  • 727 views

The submit button in my Acrobat form composes an email that just lists the form fields on seperate lines. The email looks just fine everywhere except for Outlook mobile. When I send emails that have manually typed new lines, it looks fine, but when the email is composed from my javascript code, it's all on one line on Outlook 365 (android). Can someone please help with this?

This topic has been closed for replies.

2 replies

Legend
December 2, 2020

Email clients are wildly different from each other, and not standardised. So this is the sort of thing that is likely to happen. Have you tried sending multiline text only (not HTML mail) to this client to see if it's the normal thing?

try67
Community Expert
Community Expert
December 2, 2020

I would also try using "\r" or "\r\n", just in case...

TSanders1Author
Participant
December 2, 2020

I've tried 'em all...\r, \t, \r\n, \t\n, the list of alternatives is pretty long and each one got the same result.

try67
Community Expert
Community Expert
December 2, 2020

Sounds like something to ask the Outlook mobile app developers (ie. Microsoft)...

TSanders1Author
Participant
December 2, 2020

I thought so too, but I'm only experiencing the issue with my javascript in Acrobat.