_emailLink
Creates a link to open an email in your mailer --
Function
The same Type -> _emailLink
(to, cc, bcc, subject, body) -> URL Type
- Receives -- The same Type
- Any value
- to (optional)
- Who this email is being sent to.
- cc (optional)
- Any Cc: recipients for this email
- bcc (optional)
- Any Bcc: recipients for this email
- subject (optional)
- The Subject of this email
- body (optional)
- The Body of this email
- Produces
While it is legal to create a mailto: link in an ordinary QText expression, by saying something
like \[to Joe\](mailto:joe@bob.com)
, this turns out to be very limited -- it is difficult to
make a button or link that produces complete, pre-filled emails. This function allows you to
do this right -- you can provide a complete email template, ready to send.
Note that _emailLink does not actually send an email -- due to spam concerns, Querki doesn't
send email on your behalf. But this will produce a link that, when clicked, will open a pre-filled
email in your computer's mailer, that you can then easily send out.
This function produces a long and complicated URL. You should usually feed that into something
like _linkButton, like this:
myRecipient -> _emailLink(to=Email, subject=""Howdy!"", body=""..."") -> _linkButton(""Send mail"")