Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

missing line breaks in automatic emails

Highlighted
Gyula Matics_1
Honored Contributor

missing line breaks in automatic emails

When sending an email from a DB rule, some of the line breaks in the mail are missing in about half of the mails sent by this rule.

The mail, as defined in the rule (please ignore the non-english characters)

<<
some text goes here

## Rövid leírás: [Description]

## Hosszú leírás: [Information]


## Igényelt szolgáltatás: [Service]
## BejelentŠszemély: [Caller]
## Szervezeti egysége: [Caller;Organization]
## à rintettség: [Impact]
## SürgŠsség: [Urgency]
## Esetidíjas: [Esetidijas]
## Azonosító: [ID]

other text

## HatáridŠ: [Solution Time]

>>


And what is received sometimes looks like this:

<<
some text goes here

## Rövid leírás: [Description]

## Hosszú leírás: [Information]

## Igényelt szolgáltatás: [Service]## BejelentŠszemély: [Caller]## Szervezeti egysége: [Caller;Organization]## à rintettség: [Impact]## SürgŠsség: [Urgency]## Esetidíjas: [Esetidijas]
## Azonosító: [ID]
3 REPLIES
Gyula Matics_1
Honored Contributor

Re: missing line breaks in automatic emails

and if the order of the fields is changed, then the line breaks will go missing in some other place...
Gyula Matics_1
Honored Contributor

Re: missing line breaks in automatic emails

MS Outlook successfully made a fool out of my client and me.

Apparently, it has a (mis)feature where it automatically removes line breaks when it thinks those line breaks are not needed. Fortunately it can be turned off.

Gyula
Anthony Erickso
Acclaimed Contributor

Re: missing line breaks in automatic emails

To have all the information in one spot - the location of this Outlook feature is:

(Using Outlook 2003)
Tools -> Options.
Select 'Email Options'
There is a tick box:
Remove extra line breaks from plain text emails.

Cheers,

Ant
//Add this to "OnDomLoad" event