!BAD!BAD field

Scotte Meredith spomacguy at gmail.com
Thu Mar 17 16:27:47 UTC 2022


Thanks, Philip. Yes, they are binary. Greg P found the answer.


> On Mar 16, 2022, at 4:45 PM, Philip Tulett <philip.tulett at pdq-networks.com> wrote:
> 
> 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 
> 
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



Scotte Meredith
spomacguy at gmail.com
509/998-0991






More information about the omnisdev-en mailing list