File/mail-defs.php

Description
Classes
Class Description
 class email email class A class which encapsulates all the functions required to compose and send an e-mail message. Also caters for MIME attachments.
Constants
ALTERNATIVE = "multipart/alternative" (line 49)

Alternative formats of same content

DIGEST = "multipart/digest" (line 53)

A digest of multiple attachments

EMAIL_BULK_LIMIT = (line 35)

Limit to the number of e-mails to send in one sitting.

This is used in LIMIT statements to queries which return individuals to be e-mailed with one thing or another.. NOTE: A value of 0 means "no limit".

ENC_BASE64 = "base64" (line 41)

Base-64 Encoding

ENC_BIT7 = "7bit" (line 39)

7-bit Encoding

ENC_QUOTP = "quoted-printable" (line 43)

Quoted-Printable Encoding

MIXED = "multipart/mixed" (line 47)

Mixture of content: text/html/etc.

PARALLEL = "multipart/parallel" (line 51)

Parts intended to be viewed all at once

Functions
emailthem (line 658)

Function to send an email using the simple Php mail() call. This is a very simplistic wrapper which is kept for its cuteness, but for no other reason than that.

void emailthem (string $eto, mixed $eCc, string $efrom, string $esubject, string $ebody, [string $emailformat = "plain"], [string $mime_boundary = ""])
  • string $eto: The To: email address
  • string $efrom: The From: email address
  • string $esubject: The Subject: line
  • string $ebody: The email body content
  • string $emailformat: Format of e-mail 'plain', 'html' or 'mixed'
  • string $mime_boundary: The mime boundary pattern
friendlyName (line 690)

Make a 'friendly' name from a full one. Good for "Dear... ,"

  • return: The friendly name
string friendlyName (string $fullname)
  • string $fullname: The full name to make a friendly version of

Documentation generated by phpDocumentor 1.3.0RC3