php_uue_prepsingle

(PHP 4)

php_uue_prepsingle -- Produces a complete MIME-formatted message including all necessary headers.

Description

int php_uue_prepsingle (resource outfile, mixed infile, int encoding, string outfname, int filemode, string destination[, string from, string subject, bool isemail])

This function produces a complete MIME-formatted message including all necessary headers. The output from this function is usually fed directly into a mail delivery agent which honors headers (like "sendmail" or "inews").
The parameter from is optional. If it isn’t set up, the value NULL is assigned to it. Otherwise, it is sent as the sender's email address in the "From" header Held. Some MDA programs are able to provide the sender's address themselves, so this value may be NULL in certain cases.

The parameter subject is optional. If it isn’t set up, the value NULL is assigned to it. Otherwise, the text is included in the "Subject" header Held. The subject is extended with information about the file name and part number (in this case, always "(001/001)").
"Destination" must not be NULL.
The parameter isemail is optional. If it isn’t set up, the value true is assigned to it and the destination’s content is sent in the "To” header field. If it is false, the destination’s content is sent in the "Newsgroups" header field.

Piscines en bois