WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Droplets & Snippets => Topic started by: sky writer on October 11, 2010, 03:32:06 AM

Title: emailfilter for email link to multiple recipients
Post by: sky writer on October 11, 2010, 03:32:06 AM
I have a client site with a simple email link, which goes to two email addresses.  When I use the emailfilter droplet on the page, only the first address is protected by javascript.  The second is shown as is.  The link works, and sends the email to both addresses, but I want them both protected on the page.

The same issue happens on the email form on that page.
Title: Re: emailfilter for email link to multiple recipients
Post by: sky writer on October 15, 2010, 05:17:31 AM
Does anyone have an idea on this?
Title: Re: emailfilter for email link to multiple recipients
Post by: sky writer on October 16, 2010, 01:18:04 AM
Has no one has encountered this issue.  Does ANYONE use the emailfilter droplet OR javascript?  If not, how do you mask the email links on your site??

Anyone know where I might start looking to try to find the problem myself?
Title: Re: emailfilter for email link to multiple recipients
Post by: Stefek on October 16, 2010, 02:18:44 AM
Hello,
could you please give a code example of your HTML output?

You may replace real addresses whith pseudo ones, of course.

Regards,
Stefek
Title: Re: emailfilter for email link to multiple recipients
Post by: sky writer on October 16, 2010, 02:36:22 AM
Absolutely, the page displays the following:

<a href="javascript:mdcr('lnZylxesrthF1zndczyl','%2Cusername2%40address.com%3Fsubject%3DWebsite%2520Contact%2520Link')">Direct Email</a>

As you can see the first email is filtered as 'lnZylxesrthF1zndczyl', and the second is shown.
Title: Re: emailfilter for email link to multiple recipients
Post by: Stefek on October 16, 2010, 03:45:18 AM
Hello,

yes I see.

I never used two recipients at once (in one link).
I'm sure (hope) someone else can help you.

I wish I could.

Regards,
Stefek
Title: Re: emailfilter for email link to multiple recipients
Post by: sky writer on October 16, 2010, 04:11:13 AM
Ouch.  That's worrisome, if you can't even help.

I guess I'll have to find a workaround.  Thanks for your time anyway.
Title: Re: emailfilter for email link to multiple recipients
Post by: BerndJM on October 16, 2010, 04:42:33 AM
Neither the HTML "mailto" nor the emailfilter-droplet is created (designed) to send an email to 2 recipients.
To distribute one email to two mailboxes (where ever they are) you should use a server-side solution eg the virtmaps table in sendmail or postfix:

info@yourdomain       user1, user2

This means all mails to info@ distirbute to user1 and user2.
Which means local users on this server.
But you can also do something like this:

info@yourdomain       user@domain1.tld, user@domain2.tld

Here are the users not local on the server.
Even you can mix it up.
IMHO this is the only honorrable way for distributing email to more than one user.

At last let me cite from  nice site:
QuoteHTML mailto screams "this web site has been developed by a beginner"... A professional approach would be to use forms instead, and these require knowledge of server-side scripting.

Regards Bernd
Title: Re: emailfilter for email link to multiple recipients
Post by: sky writer on October 16, 2010, 05:39:14 AM
Thanks for your reply, and education.  I DO have a contact form on this site as well, but I have found that many visitors prefer using the direct email link instead of the form.  Not sure why.

I didn't realize that have a comma separated email list was not a usable solution.  Now I do.  Thanks!

I have changed the email link to a single email, and forwarded all mail to that address to the two addresses required.  These are two addresses going to the same people... they just check different accounts from different places at different times.  Hey, whatever the client wants.