Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged mail



« Prev 1 Next »
Mail merge allows you to produce document (potentially large numbers of documents) from a single template and a structured data source. The letter may be sent out to many recipients with small changes, such as a change of address or a change in the g...
0 3073 posted 11 years ago by johansonkatherine
**Example of use:** if (!isUniversityEmail('[email protected]')) exit('You must have a valid and .edu email address to register for an account.');
1 2554 posted 12 years ago by phpdev
In wordpress, if you want to auto convert all URLs in your string into clickable hyperlinks, you can actually do it using the built-in function make_clickable(). If you need to do that outside of wordpress, you can use the same function. Example...
2 3764 posted 12 years ago by fackz
The mail() function allows you to send emails directly from a script. Remember, that most of shared hosting providers require (for security reasons) to use the domain name of your hosting in "FROM" email, e.g. [email protected] for http://yourdomai...
1 1644 posted 12 years ago by apphp-snippets
This is a Class that allows you create a letter with correct headers and send it to multi-emails.
0 2234 posted 12 years ago by Zayac
You can set this as a cron to automatically clean up unsubscribes after sending out a mass email.
0 1246 posted 13 years ago by squadsupply
Enter any suspicious IP address that you wanted to check into the form field and press the "LOOKUP" button
1 4249 posted 13 years ago by DNSBL
0 1326 posted 13 years ago by Reportme
0 1472 posted 14 years ago by olemedia
Advance Mail function using PHP Mailer Class
1 1444 posted 14 years ago by erraja_07
Encode mailto links and (plain) email addresses on your site and hide them from spambots. Easy to use, plugin works directly when activated. Features * Protect all emails and mailto links * Check posts, widgets, comments and RSS feeds * Encode...
0 2479 posted 14 years ago by freelancephp
Script to send mails with Swift Mailer
0 1206 posted 15 years ago by juanchifc
Parameters:\r\n- $to - email address to send the mail\r\n- $subject - subject\r\n- $message - message body (HTML allowed)\r\n- $from_name - sender\'s name\r\n- $from_email - sender\'s email\r\n- $reply_to_name = custom, different from $from_name name...
0 1647 posted 15 years ago by stz184
0 1235 posted 15 years ago by metoikos
O envio de emails deve ser feito de modo autenticado, utilizando o smtp do servidor. Este script é um exemplo de envio desta forma, usando a classe phpmailer para isso.
0 1171 posted 15 years ago by gpupo
This function validate a mail address in a smart way: if the address to validate has a correct syntax (checked with regular expression), it tries to connect to the mx server of the address. This means that the program have to use the smtp protocol to...
3 1822 posted 15 years ago by ginoplusio
0 1139 posted 15 years ago by gd6d
the user sees the confirmation page immedeateley. this is helpful if the mail() function takes some time
0 1242 posted 15 years ago by miebach
nothing special :)
0 1417 posted 16 years ago by adamcoulombe
1 1285 posted 16 years ago by websuslik
The right way to send a mail with POST params
2 1481 posted 17 years ago by gfazioli
Is the mail I sent, read or unread by the receiver.
1 1444 posted 17 years ago by skywalker
6 2080 posted 18 years ago by llbbl
Sends mail to the e-mail address specified. Supports attaching files, multi-part message, and e-mail encodings. Works well with Asian cell phones.
2 1979 posted 18 years ago by IanLewis
1 1514 posted 19 years ago by mikeejay
« Prev 1 Next »