Auto remove line breaks - Outlook

Kalan

Member
When progress application sends email and open that using outlook, outlook removes all the line breaks. I understand that we can fix this in outlook -> Options -> Mail -> Message format.

Is any other way to control this programmatically from progress 4gl, I tried to add 2 extra spaces to beginning of each line but no use. I am trying to avoid asking client to change their outlook settings.

Thanks,
Alan
 

TheMadDBA

Active Member
If you want nicely formatted email... send it using HTML instead of plain text. That is pretty much your only option, different fonts are going to show things differently. With HTML you can specify font families,colors,line breaking, tables, etc.
 

RealHeavyDude

Well-Known Member
The problem might be the line break. On Windows it is chr(13) + chr(10) [ CR + LF ] whereas on *nix it is only chr(10) [ LF ]. I have never done any integration with Outlook but maybe if you use skip only chr(10) is outputted and you need to manually output the two characters instead of using skip. Plus I've seen much code that uses just chr(10) as seperator. You should see this if you output it to a file and open it with the notepad editor. If the line breaks are missing then the file contains only chr(10).

Heavy Regards, RealHeavyDude.
 
Top