NetTalk Central

NetTalk E-Mail => E-Mail - Ask For Help => Topic started by: Jim A on November 08, 2017, 05:11:00 AM

Title: NT10 and FE Email Demo won't compile.
Post by: Jim A 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
Title: Re: NT10 and FE Email Demo won't compile.
Post by: Bruce on December 07, 2017, 05:28:41 AM
Hi Jim,

Which build of NetTalk and FE are you using?

cheers
Bruce
Title: Re: NT10 and FE Email Demo won't compile.
Post by: Jim A 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