Re: URLEncoding email address to stop email harvesting?

2002-10-16 Thread S . Isaac Dealey

> URLEncoding email address to stop email harvesting?

> I want to urlencode email addresses in my CF code to prevent email
> harvesting and seem to have trouble sending email when the address is
> encoded.
> ---
>  TO="%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74"
> FROM="%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74"
> SUBJECT="Test-Encoded"
> TYOE="html">
> Test
> 
> ---
> Will I have to pass the encode email address to a script that will decode
> it
> before sending the mail?

There's no significant reason why you should need or want to pass a
URLEncoded email address to a  tag like this -- there's no way that
a web-spider could ever see the  tag or its contents ( well -- there
are ways, but they require the CF Server to be _broken_ first, in which case
the solution is to fix the server, which you're going to be working on very
fervently anyway ) ... Sure it's possible to URLEncode email addresses
before they enter the database, however, I would probably stay away from
that approach and simply URLEncode any email addresses which end up
displayed on the public pages of your website, i.e.

mailto:#urlencodedformat(myquery.email)#">Send Us Email

I'm not certain but I think placing the values outside the href, i.e. betwee
 and  in urlencodedformat may also be somewhat problematic.


hth

S. Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: URLEncoding email address to stop email harvesting?

2002-10-16 Thread Gyrus

- Original Message -
From: "Bosky, Dave" <[EMAIL PROTECTED]>
> I want to urlencode email addresses in my CF code to prevent email
> harvesting and seem to have trouble sending email when the address is
> encoded.
> ---
>  FROM="%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74"
> SUBJECT="Test-Encoded"
> TYOE="html">
> Test
> 
> ---
---

Why do you need to encode the TO attribute of CFMAIL? If the address is in a
completely encoded form in a link on a web page, the address should be
decoded in the act of clicking it, I believe. If not, no need to encode,
it's all on the server.

You only need to encode email addresses that are sent to the browser as part
of an HTML page. There's a UDF on cflib.org (EmailAntiSpam()?) that encodes
the characters as character entities, seems to work well...

Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
PGP key available

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: URLEncoding email address to stop email harvesting?

2002-10-16 Thread Everett, Al

There is also the UDF EmailAntiSpam(): http://www.cflib.org/udf.cfm?ID=405

> -Original Message-
> From: Thomas Chiverton [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 16, 2002 9:40 AM
> To: CF-Talk
> Subject: RE: URLEncoding email address to stop email harvesting?
> 
> 
> Rather than role your own, why not look at the code produced by
> http://www.hivelogic.com/safeaddress/ ?
> 
> Tom Chiverton
> You don't have to be a mad scientist to believe in ColdFusion
> 
> 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: URLEncoding email address to stop email harvesting?

2002-10-16 Thread Bosky, Dave

Thanks cool but it only uses 'mailto' and I want to use CFMAIL, is this not
possible?

Dave

-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 16, 2002 9:40 AM
To: CF-Talk
Subject: RE: URLEncoding email address to stop email harvesting?

Rather than role your own, why not look at the code produced by
http://www.hivelogic.com/safeaddress/ ?

Tom Chiverton
You don't have to be a mad scientist to believe in ColdFusion





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: URLEncoding email address to stop email harvesting?

2002-10-16 Thread Thomas Chiverton

Rather than role your own, why not look at the code produced by
http://www.hivelogic.com/safeaddress/ ?

Tom Chiverton
You don't have to be a mad scientist to believe in ColdFusion




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: URLEncoding email address to stop email harvesting?

2002-10-16 Thread Bosky, Dave

Do you mean?

TO="#URLDecode(%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%
74)#"
>
FROM="#URLDecode(%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%6
5%74)#"
> SUBJECT="Test-Encoded"
> TYOE="html">
> Test  
> 

-Original Message-
From: Everett, Al [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, October 16, 2002 9:32 AM
To: CF-Talk
Subject: RE: URLEncoding email address to stop email harvesting?

Can't you use URLDecode()?

> -Original Message-
> From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 16, 2002 9:29 AM
> To: CF-Talk
> Subject: URLEncoding email address to stop email harvesting?
> 
> 
> URLEncoding email address to stop email harvesting?
> 
> I want to urlencode email addresses in my CF code to prevent email
> harvesting and seem to have trouble sending email when the address is
> encoded.
> ---
>  TO="%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74"
> FROM="%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74"
> SUBJECT="Test-Encoded"
> TYOE="html">
> Test  
> 
> ---
> Will I have to pass the encode email address to a script that 
> will decode it
> before sending the mail?
> 
> Thanks,
> 
> Dave
> 
> 
> 
> HTC Disclaimer:  The information contained in this message 
> may be privileged and confidential and protected from 
> disclosure. If the reader of this message is not the intended 
> recipient, or an employee or agent responsible for delivering 
> this message to the intended recipient, you are hereby 
> notified that any dissemination, distribution or copying of 
> this communication is strictly prohibited.  If you have 
> received this communication in error, please notify us 
> immediately by replying to the message and deleting it from 
> your computer.  Thank you.
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: URLEncoding email address to stop email harvesting?

2002-10-16 Thread Everett, Al

Can't you use URLDecode()?

> -Original Message-
> From: Bosky, Dave [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 16, 2002 9:29 AM
> To: CF-Talk
> Subject: URLEncoding email address to stop email harvesting?
> 
> 
> URLEncoding email address to stop email harvesting?
> 
> I want to urlencode email addresses in my CF code to prevent email
> harvesting and seem to have trouble sending email when the address is
> encoded.
> ---
>  TO="%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74"
> FROM="%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74"
> SUBJECT="Test-Encoded"
> TYOE="html">
> Test  
> 
> ---
> Will I have to pass the encode email address to a script that 
> will decode it
> before sending the mail?
> 
> Thanks,
> 
> Dave
> 
> 
> 
> HTC Disclaimer:  The information contained in this message 
> may be privileged and confidential and protected from 
> disclosure. If the reader of this message is not the intended 
> recipient, or an employee or agent responsible for delivering 
> this message to the intended recipient, you are hereby 
> notified that any dissemination, distribution or copying of 
> this communication is strictly prohibited.  If you have 
> received this communication in error, please notify us 
> immediately by replying to the message and deleting it from 
> your computer.  Thank you.
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm