Bob Gajewski
rbgajewski at adelphia.net
Wed Jun 4 19:26:42 CDT 2008
Rocky Putting your email address in the HTML code is a great way to invite tons of spam - bots troll source code constantly looking for the unsuspecting. Seriously, might I suggest a Javascript alternative? Create the utiliies.js file (asterisks are to show the code, and are not part of the file): ******************************************** function sendMail(n2,d2,e2,s2,b2){ if(s2 == '') s2 = ' '; var r2 = 'mailto:' + n2 + '@' + d2 + '.' + e2 + '?subject=' + s2 + '&body=' + b2; document.location.href = r2; } ******************************************** In the HEAD section of your code, put: <script type="text/javascript" src="scripts/utilities.js"></script> Then, instead of your current code: <a href="mailto:rockysmolin at bchacc.com">Email Rocky Smolin</a> Use: <a href="javascript:sendMail('rockysmolin','bchacc','com','Feedback','Please input your feedback here');">Email Rocky Smolin</a> This will both prevent bots from finding your email address <and> allow you to pre-fill fields! n2 = the email name (everything left of the AT sign) d2 = the domain (between the AT sign and the DOT) e2 = the domain extension (COM, NET, etc) s2 = the default subject line b2 = the default message in the body The subject and body can be left blank, but you should be sure to pass an empty string. (<a href="javascript:sendMail('rockysmolin','bchacc','com','','');">Email Rocky Smolin</a> ) Each link can have different default subject lines, etc. That way, you even know exactly what link they clicked on (unless, of course, they change the subject line). Best regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Wednesday, June 04, 2008 13:02 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Feedback Time Dear List: Lister Karen Rosenstiel has redone my Beach Access Software web site and we would both be grateful for anyone who wants to take a few minutes to look at it and give us some feedback on what you like, what you don't like. It's in a temporary folder http://www.bchacc.com/beachtemp/index.html right now. Hoping to go live shortly. The old web site - my homegrown attempt at a web presence - is at http://www.bchacc.com so you can see what it looks like now (not too pretty). You can reply offline to Karen (krosenstiel at comcast.net) and myself (rockysmolin at bchacc.com) or to the list which I think would be of value to others on the list since many of us need our own web sites and could profit from the combined advice of the list. So, many thanks in advance. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com <http://www.e-z-mrp.com/> www.bchacc.com <http://www.bchacc.com/> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com