Page 1 of 1

EmailSendFromTextBox not working

PostPosted: Tue Mar 13, 2018 3:50 am
by djrappa
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

Re: EmailSendFromTextBox not working

PostPosted: Tue Mar 13, 2018 5:38 am
by justyn roy
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,

Re: EmailSendFromTextBox not working

PostPosted: Tue Mar 13, 2018 8:00 am
by djrappa
Thanks I'll give it a try and see how we go.