Welcome To Snipplr


Everyone's Recent Snippets Tagged email



PHP encrypts your E-mail address and generates the javascript that decrypts it. Most bots and spiders can't execute javascript and that is what makes this work.
3 183 posted 10 years ago by fackz
With 10.5 Apple deprecated the use of NSMailDelivery – without a replacement. So the questions comes up regulary – how does one send emails from Cocoa? Turns out there are couple of frameworks available that can also be used to do the job. *...
0 128 posted 10 years ago by zingo
Easily grabs email addresses from a bulk text (CSV and/or some other email address-filled list/db). Example #2 takes the input (bulk text) from textarea #input and puts the clean emails in the textarea #extractedemails.
1 630 posted 10 years ago by world_eggplant
0 94 posted 10 years ago by Michael01
An easy way to hide your email from spam bots.
4 136 posted 10 years ago by fackz
testing tool: http://www.pythonregex.com/
0 221 posted 10 years ago by backlashblues
The source below is the function from the website with the corrected regular expression found in the site's comments. This is a nigh-one-line function for validating a string as an email address.
4 189 posted 10 years ago by Winkyboy
This code will loop through any posted variables and print the name of the field as well as the value of the field.
0 106 posted 10 years ago by BFTrick
Very easy to use and helps keep browsers from jumbling your email up.
0 104 posted 10 years ago by dmautz1
There are multiple ways of checking email adresses about their validity. This script is based on RFC 2822. Please note that based on RFC 2822 [email protected] is considered valid. The second snippet is the one I prefer, which only accepts T...
2 240 posted 10 years ago by pacey
from http://www.w3schools.com/php/php_mail.asp
0 108 posted 10 years ago by rwczippy
nothing special :)
0 126 posted 10 years ago by adamcoulombe
2 122 posted 10 years ago by lister
Allow Visitors to Email Posts to Their Friends
0 74 posted 10 years ago by paulgrenwood
E-mail validation is perhaps the most used validation in web forms, this code will validate email address and also optionally check the MX records of the domain provided in email address to make email validation more robust.
2 126 posted 10 years ago by paulgrenwood
With this snippet, you can encode any email address into HTML entities so that spam bots do not find it.
0 92 posted 10 years ago by paulgrenwood
I use this to activate basic forms for clients. Just make sure your form input names are named appropriately. Any inputs such as phone or fax that are separated into different inputs should have the same name.
1 146 posted 10 years ago by dmautz1
3 129 posted 11 years ago by jb3622
This regular expression will match almost all valid email addresses. Omits email addresses containing double-quotes and square brackets, which while valid according to [RFC 2822][rfc2822], are almost never used. [rfc2822]: http://tools.ietf.org/ht...
2 175 posted 11 years ago by chrisdpratt
<form> <input>
0 127 posted 11 years ago by hotdiggity
5 141 posted 11 years ago by iTony