Mail Function Snippets


01 October, 2013   

This php code for mail someone from your code

The mail() function allows you to send emails directly from a script.

09 February, 2013   

There are websites that will watch a page for you and notify but I didn't really like the way they worked.

HTML Form using php code that accepts mail related information

Internal Mail System or private messaging system. Easy to embed into your own projects.

26 December, 2012   

Email regex validation with MX check and communication. Sample code included. Returns bool valid code, bool condition code and str message.

19 July, 2012   

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.

23 April, 2011   

Below is a basic feedback form script 'feedback.asp'. You can add your own validation. Once the visitor has filled in all the form textfields an email will be sent with the feedback details including the date and time and the visitor's IP address to the email specified in the script.

30 March, 2013   

Example HTML code to draw a border around form-data

28 January, 2012   

JavaScript Code example to choose a page and Jump

17 September, 2014   

PHP example code for using MySQL and a contact form to allow a group of users on a site to contact each other safely.

The following code snippet shows how to execute standard Control Panel applets (Display Properties, Reginal Settings, Mouse Properties, and more) from Visual Basic code.

10 August, 2011   

An easy way to send an HTML email with an attachment.

30 December, 2010   

Class to back up entire databases and email them out, or individual tables

09 February, 2011   

Class to back up entire databases and email them out, or individual tables.

C++ code snippet for function pointer to member function of class

Example source code for function pointer to member function of class

In Delphi, procedural types (method pointers) allow you to treat procedures and functions as values that can be assigned to variables or passed to other procedures and functions. Here's how to call a function (or procedure) as a parameter of another function (or procedure) : Declare the function (or procedure) that will be used as a...

12 August, 2012   

Simple but utilitarian function returns a numeric array of associative arrays containing an entire result set.

18 June, 2011   

You can create a function for logging system