Skip to main content
Question

Mailto - more than 1 email address in the CC

  • August 20, 2017
  • 0 replies
  • 39 views

Forum|alt.badge.img+9
Here is the top part of the formula I'm using to automate the sending of an email to specific users:

var text URLONE = URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & ToText([Record ID#]) & "&_fid_662=" & ToText(Today());

var text URLTWO= 

"MailTo:"& URLEncode([Contact Main Email])
&"&cc="& URLEncode([Contact Secondary Email])
&"&bcc=email@email.com"
// the above text invokes the mail client, and creates the TO line
&"?subject=" &  "Store " & [Store No] &  " POS Checkout Site Readiness Survey"

I need to BCC two email addresses. These addresses will always be the same for every email. Is there a way to have two emails in that line? I've tried putting a ; after the first email and then putting the second, but this doesn't seem to work.

While we are at it, is there a way to change the From to a specific email address? I have been having to change that manually to make it come from our project mailbox, rather than my personal email.

Thank you,

Kim
This topic has been closed for replies.

The ? is the indicator that the rest of the parameters follow, so it needs to be first.


"MailTo:"& URLEncode([Contact Main Email])
& "?subject=" & URLEncode("Store " & [Store No] &  " POS Checkout Site Readiness Survey")

& "&cc="& URLEncode([Contact Secondary Email])
& "&bcc=email@email.com;Fred.flintstone@bedrock.com

... I don't know if there is a way to change the from

According to this post here, you cannot change the from as there is no recognized parameter for "from".

https://yoast.com/dev-blog/guide-mailto-links/