NetTalk Central

Author Topic: Text and HTML string in Send Email turned to StringTheory  (Read 3176 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Text and HTML string in Send Email turned to StringTheory
« on: March 24, 2021, 01:06:14 PM »
Hi Bruce,

As the Text and HTML string in Send Email turned to StringTheory objects, I will have to add an extension to my procedures accomodate these fields.
But how do I do that?

Normally I add a local StringTheory object like ST to a procedure. Assigning a vaule is done by st.setvalue('tralala') .
In the SendEmail documentation (12.10 my current version) I see something like: parms.pEmailMessageTextST.SetValue('Tralala')

The example, Web11, is not up to date using the StringTheory way of doing things.
So how do I define the parms.pEmailMessageTextST object in my procedure?

Cheers,
René

p.s.
Thanks for las Friday's tip on double clicking an error and jumping to the embed code in stead of the generated code.
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Text and HTML string in Send Email turned to StringTheory
« Reply #1 on: March 30, 2021, 01:30:08 AM »
>>  I will have to add an extension to my procedures accommodate these fields.

I don't understand what you mean by this...

>>The example, Web11, is not up to date using the StringTheory way of doing things.

um, yeah it is... In the sense that there's nothing to change?
granted the passed in parms.pEmailMessageText and parms.pEmailMessageHtml are still strings... but that shouldn't cause any issues.

cheers
Bruce