Forum Discussion
MarkShnier__You
Qrew Legend
The ? indicates the start of the rest of the parameters after this "mailto:Email@email.com"
so, if you remove that cc line then you need to retain the "?"
For example
var text Email = "mailto:Email@email.com" &
//& "?cc=Email@email.com"
& "?subject=" & URLEncode($Subject) // include the ? delimiter here
& "&body=" & $Body;
"<a href="
& $Email
& ">" & "Create Email" & "</a>"
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
so, if you remove that cc line then you need to retain the "?"
For example
var text Email = "mailto:Email@email.com" &
//& "?cc=Email@email.com"
& "?subject=" & URLEncode($Subject) // include the ? delimiter here
& "&body=" & $Body;
"<a href="
& ">" & "Create Email" & "</a>"
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
MichaelTamoush
4 years agoQrew Captain
I thought that may be the case, but when I try that it simply leaves the subject blank. I tried to simplify and test, but same result. Below results in the to field correct, and the Body correct, but the subject blank.
vvar text Email = "mailto:email@email.com"
& "?&subject=test"
& "&body=Body";
"<a href="
& $Email
& ">" & "Create Email" & "</a>"
------------------------------
Michael Tamoush
------------------------------
vvar text Email = "mailto:email@email.com"
& "?&subject=test"
& "&body=Body";
"<a href="
& ">" & "Create Email" & "</a>"
------------------------------
Michael Tamoush
------------------------------
- MarkShnier__You4 years agoQrew Legend& "?subject=test"
I think you need to get rid of the & before the word subject.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------- MichaelTamoush4 years agoQrew CaptainAhh yes of course. And that did the trick!
------------------------------
Michael Tamoush
------------------------------