I have the following code and it works fine, but if I remove the cc: line, it does not work.
Working Code:
var text Subject =
"Subject Text" ;
var text Body =
URLEncode("Body Text");
var text Email = "mailto:Email@email.com" &
& "?cc=Email@email.com"
& "&subject=" & URLEncode($Subject)
& "&body=" & $Body;
"<a href="
& $Email
& ">" & "Create Email" & "</a>"
However, if I comment out the cc line, it doesn't know the next line is the subject, and then the body. It will just string together the subject and body and treat it like another 'To' email address.
What syntax am I supposed to add or change when removing the cc? I am using a formula rich text field.
------------------------------
Michael Tamoush
------------------------------
Question
Help with creating email syntax
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.