mailparse_msg_extract_part

(PECL mailparse >= 0.9.0) Extracts/decodes a message section void mailparse_msg_extract_part ( resource $mimemail, string $msgbody [, callable $callbackfunc ] ) Parameters: mimemail A valid MIME resource. msgbody A valid MIME resource. callbackfunc A valid MIME resource. Return

mailparse_msg_extract_part_file

(PECL mailparse >= 0.9.0) Extracts/decodes a message section string mailparse_msg_extract_part_file ( resource $mimemail, mixed $filename [, callable $callbackfunc ] ) Extracts/decodes a message section from the supplied filename. The contents of the section will be decoded according to their transfer encoding - base64, quoted-printable and uuencoded text are supported. Parameters:

mailparse_msg_create

(PECL mailparse >= 0.9.0) Create a mime mail resource resource mailparse_msg_create ( void ) Create a MIME mail resource. Returns: Returns a handle that can be used to parse a message. See also: mailparse_msg_free() - mailparse_msg_parse_file() -

mailparse_determine_best_xfer_encoding

(PECL mailparse >= 0.9.0) Gets the best way of encoding string mailparse_determine_best_xfer_encoding ( resource $fp ) Figures out the best way of encoding the content read from the given file pointer. Parameters: fp A valid file pointer, which must be seek-able. Returns: Returns one of the character encodings supported by the mbstring module.

mail

(PHP 4, PHP 5, PHP 7) Send mail bool mail ( string $to, string $subject, string $message [, string $additional_headers [, string $additional_parameters ]] ) Sends an email. Parameters: to Receiver, or receivers of the mail. The formatting of this string must comply with » RFC 2822. Some examples are: user@example.com user@example.com, anotheruser@example.com User <u

ezmlm_hash

(PHP 4 >= 4.0.2, PHP 5, PHP 7) Calculate the hash value needed by EZMLM int ezmlm_hash ( string $addr ) ezmlm_hash() calculates the hash value needed when keeping EZMLM mailing lists in a MySQL database. Parameters: addr The email address that's being hashed. Returns: The hash value of addr. Ex

imap_utf8

(PHP 4, PHP 5, PHP 7) Converts MIME-encoded text to UTF-8 string imap_utf8 ( string $mime_encoded_text ) Converts the given mime_encoded_text to UTF-8. Parameters: mime_encoded_text A MIME encoded string. MIME encoding method and the UTF-8 specification are described in » RFC2047 and » RFC2044 respectively. Returns: Returns an UTF-8 encoded strin

imap_utf7_encode

(PHP 4, PHP 5, PHP 7) Converts ISO-8859-1 string to modified UTF-7 text string imap_utf7_encode ( string $data ) Converts data to modified UTF-7 text. This is needed to encode mailbox names that contain certain characters which are not in range of printable ASCII characters. Parameters: data An ISO-8859-1 string. Returns: Returns data encoded w

imap_utf7_decode

(PHP 4, PHP 5, PHP 7) Decodes a modified UTF-7 encoded string string imap_utf7_decode ( string $text ) Decodes modified UTF-7 text into ISO-8859-1 string. This function is needed to decode mailbox names that contain certain characters which are not in range of printable ASCII characters. Parameters: text A modified UTF-7 encoding string, as defined in » RFC 2060, sectio

imap_unsubscribe

(PHP 4, PHP 5, PHP 7) Unsubscribe from a mailbox bool imap_unsubscribe ( resource $imap_stream, string $mailbox ) Unsubscribe from the specified mailbox. Parameters: imap_stream An IMAP stream returned by imap_open(). mailbox The mailbox name, see imap_open() for more information Returns: Returns TRUE on success