EmailSendFromTextBox not working

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

EmailSendFromTextBox not working

Postby djrappa » Tue Mar 13, 2018 3:50 am

I have a script using the function
Code: Select all
EmailSendFromTextBox("xxx@yyy.com",9,11)

however the email is not sending.

If I use the regular EmailSend syntax to the same address the email sends fine however I want to use the Textbox command so I can create a correctly formatted email combining values into that textbox. Both text boxes exist and have data in them.

Is this a bug?
If so is there a workaround of fix coming?

The email is not even showing in the outbox where as the other does.

Rev 6800
Cheers
Clint Dulieu
Technical Designer
Mandylights
djrappa
 
Posts: 167
Joined: Wed Jul 01, 2009 10:46 am

Re: EmailSendFromTextBox not working

Postby Justyn Roy » Tue Mar 13, 2018 5:38 am

Hi Djrappa,

You're right, this part of the email scripting doesn't work.
This is a known issue and is being addressed.

There are a few ways you can work around this one way is using local variables:

Code: Select all
Var EmailAddress = TextBox1.Text
Var Subject = TextBox2.Text
Var Body = TextBox3.Text

EmailSend(EmailAddress,Subject,Body)


This will take the text of TextBox 1 and use it as the email address,
It will take the text of TextBox 2 and use it as the subject line
and it will take the text of TextBox 3 and use it as the body of the email.

You can change those numbers as you see fit - or replace the email address for instance with a single email address inside of quotes - ie: EmailSend("Email@email.com",Subject,Body)

Using this script will work as it is without the need to create global variables.

Let me know if this works for you.

Regards,
Justyn Roy
Solutions Architect
Christie Digital Systems

Online Manual
User avatar
Justyn Roy
 
Posts: 64
Joined: Tue Sep 27, 2016 1:26 am

Re: EmailSendFromTextBox not working

Postby djrappa » Tue Mar 13, 2018 8:00 am

Thanks I'll give it a try and see how we go.
Cheers
Clint Dulieu
Technical Designer
Mandylights
djrappa
 
Posts: 167
Joined: Wed Jul 01, 2009 10:46 am


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 2 guests