On Monday, March 4, 2019 at 9:52:57 AM UTC+1,
cedars...@gmail.com wrote:
OK, I'm semi retired these days but, still doing some support/maintenance work so, be gentle with me.. <G>
I have a client who wants to send emails from a Clarion (v8) app and, using the Softmasters Office Templates, it's pretty easy.
Problem I have is that I am trying to insert a blank line into the HTML email body and, it just won't work..
Tried the usual suspects (chr(13), 0D etc)
Anyone got any ideas ?
Hi.
You have to enter the whole content in html structure.
Otherwise, new MSOutlook1.SetHTMLBody() will overwrite content entered in previous MSOutlook1.SetHTMLBody().
Break <br> will create new line.
Something like:
MSOutlook1.CreateItem('mail')
MSOutlook1.DisplayMessage()
MSOutlook1.SetTo('
destination@email.com')
MSOutlook1.SetSubject('E-Mail Subject')
MSOutlook1.SetHTMLBody('<html><h1><font color="ff0000">Something really ' &|
'important happen</font><br>Office Templates v2 is'&|
' in your hands!<br>'&|
' <br>'&|
' Something wild!</html>')
Zoran.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)