Forum Discussion
& in Email Button
Hi!
I want to use a button to send an email. The complicated part of this is that the email has an & in it, and as soon as the & is put in there, it changes it to & which immediately invalidates the address. I've tried all sorts of things - using full strings of code, partial strings of code, simply removing the ; at the end - everything I can think of. Is there something I'm not doing/seeing?
Thanks for your help in advance!
Kate
Hi Kate,
We have reported this issue to our engineers, and we'll update you as soon as we hear more from our team about this. For now, the button should work even with this escape character, albeit the body itself, which comes after the
&
in themailto
button will not appear.If the entire line gets invalidated when this happens, please reach out to our support team here so that we can investigate what is happening with the Send Email button.
- PhilFossCommunity Member
I've been able to use %26 in place of the & and it will turn into the & when it launches my email program. some info here- https://www.w3schools.com/tags/ref_urlencode.ASP