Forum Discussion
MichaelTamoush
5 years agoQrew Captain
Thanks Mark I'll give it a try. Right now I can't get my email code to produce the subject or body. Can you tell what my mistake is?
var text Subject = "This is the Subject";
var text Body = "This is the body";
//var text Email = "mailto:" & "" & "[email protected]" & "\n" & "?subject=" & $subject & " &body=" & $Body &"";
var text Email = "mailto:"&""&"[email protected]"&"\n"&"?subject="&"\n"&URLEncode($Subject) &""&"&body="&URLEncode($Body)&"";
"<a href=" & $Email & ">" & "Send Email Test" & "</a>"
------------------------------
Mike Tamoush
------------------------------
var text Subject = "This is the Subject";
var text Body = "This is the body";
//var text Email = "mailto:" & "" & "[email protected]" & "\n" & "?subject=" & $subject & " &body=" & $Body &"";
var text Email = "mailto:"&""&"[email protected]"&"\n"&"?subject="&"\n"&URLEncode($Subject) &""&"&body="&URLEncode($Body)&"";
"<a href=" & $Email & ">" & "Send Email Test" & "</a>"
------------------------------
Mike Tamoush
------------------------------
MichaelTamoush
5 years agoQrew Captain
Awww so simple. Worked like a charm. Thanks!
------------------------------
Mike Tamoush
------------------------------
------------------------------
Mike Tamoush
------------------------------
- MichaelTamoush5 years agoQrew CaptainLast question - you know how to create a line break in the body? I didn't have luck with %0D%0A unless I am using it wrong?
var text Body =
"Please process the following New Subcontract Request. Details and a link to the request form are found below."
& "%0D%0A"
& "Service Order: " & [SO #]
& "%0D%0A"
& "Project ID: " & [Project ID]
------------------------------
Mike Tamoush
------------------------------- MarkShnier__You5 years ago
Qrew Legend
A line break is
& "%0A%0A"
I'm pretty sure tis the same as URLEncode ("\n\n")
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
[email protected]
------------------------------- MichaelTamoush5 years agoQrew CaptainNo luck with that either. Just prints out %0A%0A.
------------------------------
Mike Tamoush
------------------------------