Welcome To Snipplr


Everyone's Recent Snippets Tagged email



3 1795 posted 14 years ago by alyssonweb
This snippet is a PHP function that checks if an email address is valid
2 1383 posted 14 years ago by visudex
0 1010 posted 15 years ago by dkevey
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 1559 posted 15 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 1980 posted 15 years ago by poxet
1 1204 posted 15 years ago by sandrews_06
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 1838 posted 15 years ago by kyrathaba
0 1382 posted 15 years ago by tuffo19
A simple example of how to send an email using PHP's build in mail() function.
0 1140 posted 15 years ago by jprochazka
Definitivo. Errore bassissimo.
2 1669 posted 15 years ago by tuffo19
Stop a spam email form header injection attack - ie stop spammers from hijacking a web form to send junk mail
0 1057 posted 15 years ago by flatearthcomms
Requires PHP 5.2 with filter_var()
1 1476 posted 15 years ago by Calvista
2 2525 posted 15 years ago by daipratt
3 3394 posted 15 years ago by nkm
0 1609 posted 15 years ago by jmiller
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 1601 posted 15 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 1337 posted 15 years ago by philsown
1 1511 posted 15 years ago by daipratt
0 1218 posted 15 years ago by errkk
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 1932 posted 15 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 2200 posted 15 years ago by zingo