Is it possible to get images  in a 4D Write document sent as an HTML email show 
up in the email.  We have an picture that includes a header and side column 
pasted in the background. It looks great in 4D Write but only the text gets 
sent in the email.

This is 4D v14 on a Mac.

The problem I am pretty sure is that SMTP_Body only takes text. So…

$HTMLDocument:=Temporary 
folder+"HTML"+String([Correspondence]_Correspondence_ID;"#########")
WR SAVE DOCUMENT (eCorrespondenceEMail;$HTMLDocument;wr HTML 4 document)
DOCUMENT TO BLOB($HTMLDocument;$blob)
$Body:=BLOB to text($blob;Mac text without length)
SMTP_Body ($SMTP_ID;$Body;4))

…is not going to include any images because SMTP_Body can only take text. I 
must be missing something.

Thanks,

John

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to