Forums

Send Email Link Directly to Default Client

hangbill 26 Jul, 2017
Hi

Have email link in a CC directory. In View Linkable -> users.email:users.email
Then in View Actions have <a href="mailto:{users.email}">Send Email</a>

So clicking the email link in the directory opens a new link called "Send Email" and clicking that opens the email client
with the correct email address.

How do I set it up to bypass the "a href" link?
Want user to click the email link in the directory and it opens the email client directly with correct address prepopulated.

Thanks
hangbill 31 Jul, 2017
Seems odd that an email link has to open an intermediary page. Why not click the link and it opens the email client directly?

Any thoughts on this one ?
GreyHead 31 Jul, 2017
Hi hangbill,

I'm not sure that you need either of these entries - but I'm not familiar with CFv6. Can you not just use an HTML entry in the listing?

Bob
hangbill 31 Jul, 2017
Sorry Greybard, should have said am using CF5. Too much work at this time to reconfigure form for CF6.
How do I do it in CF5?
GreyHead 01 Aug, 2017
Answer
1 Likes
Hi hangbill,

In CCv5 you can add the link entry in the HTML box. Something like email_link: <a href='mailto:{users.email}' >Send Email</a>

Bob
hangbill 01 Aug, 2017
Yes, that works
users.email:<a href="mailto:{users.email}">{users.email}</a>
.
Thanks Greyeard.

I was using the View Linkable box together with the Action, like this
View Linkable =
users.email:users.email

Action =
<a href='mailto:{users.email}' >Send Email</a>


When do you use View Linkable?
GreyHead 01 Aug, 2017
Hi Hangbill,

I think that the View Linkable box is intended when you want to display some extra data related to the table row.

Bob
hangbill 01 Aug, 2017
OK, thanks Greybeard ... .
This topic is locked and no more replies can be posted.