Alan, I'd suggest that you try using SMTP_Quicksend instead of the lower-level SMTP functions. Read up on SMTP_Quicksend and I think you'll find that you can do everything you need with that, and (in our pretty thorough testing) it sends emails that are accepted by Outlook, Yahoo, Gmail, Mail, and others. Pat
On Wed, 3 Oct 2018 at 21:26, Allan Udy (Golden Micro) via 4D_Tech < [email protected]> wrote: > Hi all, > > We have an issue sending a Write Pro letter in the body of an email to > Microsoft Outlook. > > 1. We export the Write Pro object into a variable: > > * WP EXPORT VARIABLE*($PrintLetter;$Email_Body;wk web page html 4D) > > > 2. Then we use IC's SMTP_body to build the body of the email, specifying > that the format is HTML ie option = 4 > > */ SMTP_Body/* ($SMTP_ID;$Email_Body;4) > > > 3. When this email is sent out, email clients such as Apple Mail receive > the body correctly formatted. However the body of the email in > Microsoft Outlook clients shows as Times New Roman, and some of the > other formatting of the document is lost. > > Can anyone tell us how to get Microsoft Outlook to honour the formatting? > > > > Cheers, > Allan Udy > > Golden Micro Solutions Ltd, Blenheim, New Zealand > http://www.golden.co.nz<http://www.golden.co.nz> > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** -- ************************************************* CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky ************************************************* ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

