!BAD!BAD field
Philip Tulett
philip.tulett at pdq-networks.com
Wed Mar 16 23:45:16 UTC 2022
Hi Scotte,
Can you check/confirm that both variables lBinData & ibnPDF are defined a
Binary?
Kind regards
Philip
-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of
Scotte Meredith
Sent: 16 March 2022 22:48
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: !BAD!BAD field
I have an odd problem that has popped up.
I'm putting together an email to send out using the SMTP Worker.
It properly reads the file into ibnPDF. I can view the data and it looks OK.
When I add it to the ilMimeList, the lBinData columns shows !BAD!BAD....
Earlier, it was not doing this and the email was sending out with the PDF
attachment. Now it's not and I don't see the reason why.
I've tried both with lEncoding having a value and leaving it blank.
Has anyone seen this? Any ideas?
Do
ilMimeList.$define(lLevel,lContentType,lContentSubtype,lFilename,lCharData,l
BinData,lCharset,lEncoding,lDisposition)
Do ioFileOps.$openfile(ilAttachments.path,kTrue)
Do ioFileOps.$readfile(ibnPDF)
Do ioFileOps.$closefile()
Do ioMimeTypes.$getMimeTypes(lcExtension,lcType,lcSubType)
Do
ilMimeList.$add(lnLevel,lcType,lcSubType,icDocumentName,,ibnPDF,'iso-8859-1'
,'base64')
Scotte Meredith
spomacguy at gmail.com
509/998-0991
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com Start a new
message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list