NetTalk Central

Author Topic: NT10 and FE Email Demo won't compile.  (Read 5561 times)

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
NT10 and FE Email Demo won't compile.
« on: November 08, 2017, 05:11:00 AM »
Hi:  I got most of this figured out, but am still having compile issues.  I'm not sure how to replace the:   &= new String(htmlFile.binDataLen).

I see the obvious changes from the docs but it would be very helpful to see the code below in its new format.

Thank you.

Jim



    htmlFile.Load(htmlFileName)                                             ! Load the file from disk the the feFile class.
   
    if convertToText                                                        ! Handle conversion to text using the NetWebClient class
        htmlToText.page &= new String(htmlFile.binDataLen)
        htmlToText.page = htmlFile.binData 
        htmlToText.TextOnly()
        EmailSender.SetRequiredMessageSize(0, htmlToText.pageLen, htmlFile.binDataLen)
        EmailSender.messageText = htmlToText.page
    else
        EmailSender.SetRequiredMessageSize(0, 0, htmlFile.binDataLen)
    end

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT10 and FE Email Demo won't compile.
« Reply #1 on: December 07, 2017, 05:28:41 AM »
Hi Jim,

Which build of NetTalk and FE are you using?

cheers
Bruce

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: NT10 and FE Email Demo won't compile.
« Reply #2 on: December 08, 2017, 12:20:15 PM »
Hi Bruce:  Just updated to NT 10.12 and StringTheory 2.67 and that appears to have solved it.

Thanks,

Jim