Welcome To Snipplr
Everyone's Recent Snippets Tagged email
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Instead of writing the link in the HTML, just write the email address inside any tag you want (p, spam, div...) with the class "email", and put "[at]" instead "@". This script replace the "[at]" and create the link outside the spam robot sight
1
747
posted 13 years ago by thefricky
This snippet is a PHP function that checks if an email address is valid
2
751
posted 13 years ago by visudex
Uses LDAP to find EMail address by using the sAMAccountName.
Add System.DirectoryServices to references.
0
885
posted 13 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address.
Add System.DirectoryServices to references.
0
1127
posted 13 years ago by poxet
Notes:\r\n\r\n(1) your namespace\'s using section should include the following:\r\nusing System.Net.Mail;\r\n\r\n(2) my example code places the email-sending code in a Button\'s Click() event-handler
3
900
posted 13 years ago by kyrathaba
A simple example of how to send an email using PHP's build in mail() function.
0
573
posted 13 years ago by jprochazka
Stop a spam email form header injection attack - ie stop spammers from hijacking a web form to send junk mail
0
530
posted 13 years ago by flatearthcomms
For both gmail and gApps, use smtp.gmail.com on port 25 with SSL and NetworkCredentials.
Neither can send email to their own address, but they can send to other addresses.
[NLog](http://nlog-project.org/) has [an example](http://nlog-project.or...
1
781
posted 14 years ago by pckujawa
I used to have the strlen block and the 2 preg if blocks each separately return false throughout, but lately I'm in a single point of exit mindset.
I cannot take credit for the regexps - I borrowed them from someone who borrowed them. If the real...
0
662
posted 14 years ago by philsown
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
924
posted 14 years ago by fackz