Closed kobruleht closed 2 years ago
To reproduce, send plaintext message containing < and > characters like
Hello, Is 3<5 or 3>5 ?
SFMail sends this as html body. In Thunderbird line endings are ignored. Received message appears in single line:
Proposal:
UseHtml property should be set by caller. FoxPro class should contain this property.
Instead of
loMail.UseHtml = '<' $ .cBody and '>' $ .cBody
loMail.UseHtml = .cUseHtml
should used.
Added lUseHTML in the latest build. It defaults to .F. but is automatically set to .T. if you set cBody to a value containing both "<" and ">". You can set it back to .F. if desired before calling Send.
To reproduce, send plaintext message containing < and > characters like
SFMail sends this as html body. In Thunderbird line endings are ignored. Received message appears in single line:
Hello, Is 3<5 or 3>5 ?
Proposal:
UseHtml property should be set by caller. FoxPro class should contain this property.
Instead of
loMail.UseHtml = '<' $ .cBody and '>' $ .cBody
loMail.UseHtml = .cUseHtml
should used.