Forum Discussion
MarkShnier__You
Qrew Legend
4 years agoThe ? indicates the start of the rest of the parameters after this "mailto:[email protected]"
so, if you remove that cc line then you need to retain the "?"
For example
var text Email = "mailto:[email protected]" &
//& "?cc=[email protected]"
& "?subject=" & URLEncode($Subject) // include the ? delimiter here
& "&body=" & $Body;
"<a href="
& $Email
& ">" & "Create Email" & "</a>"
------------------------------
Mark Shnier (YQC)
[email protected]
------------------------------
so, if you remove that cc line then you need to retain the "?"
For example
var text Email = "mailto:[email protected]" &
//& "?cc=[email protected]"
& "?subject=" & URLEncode($Subject) // include the ? delimiter here
& "&body=" & $Body;
"<a href="
& ">" & "Create Email" & "</a>"
------------------------------
Mark Shnier (YQC)
[email protected]
------------------------------
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 protected]"
& "?&subject=test"
& "&body=Body";
"<a href="
& $Email
& ">" & "Create Email" & "</a>"
------------------------------
Michael Tamoush
------------------------------
vvar text Email = "mailto:[email protected]"
& "?&subject=test"
& "&body=Body";
"<a href="
& ">" & "Create Email" & "</a>"
------------------------------
Michael Tamoush
------------------------------
- MarkShnier__You4 years ago
Qrew Legend
& "?subject=test"
I think you need to get rid of the & before the word subject.
------------------------------
Mark Shnier (YQC)
[email protected]
------------------------------- MichaelTamoush4 years agoQrew CaptainAhh yes of course. And that did the trick!
------------------------------
Michael Tamoush
------------------------------