<?xml version="1.0"?><phpdoc><class name="Mail" extends="PEAR" undoc="false" access="private"><file>c:/www/apache/doc2//pear/Mail.php</file><doc><author email="ssb@fast.no">Stig Bakken</author><inherited src="Array"/><description>mailers under the PEAR hierarchy, and provides supporting functionsuseful in multiple mailer backends.</description><shortdescription>PEAR&amp;apos;s Mail:: interface. Defines the interface for implementing</shortdescription><since>PHP 4.0.2</since></doc><function name="factory" undoc="false" access="public"><doc><parameter name="$mailer_type" type="string">kind of Mail:: object to instantiate.</parameter><parameter name="$params" default="array()" type="array">parameters to pass to the Mail:: object.</parameter><return type="void"/><description>types</description><shortdescription>Provides an interface for generating Mail:: objects of various</shortdescription></doc></function><function name="send" undoc="false" access="public"><doc><parameter name="$recipients" type="mixed">a comma-seperated list of recipients&#x0a;(RFC822 compliant), or an array of recipients,&#x0a;each RFC822 valid. This may contain recipients not&#x0a;specified in the headers, for Bcc:, resending&#x0a;messages, etc.</parameter><parameter name="$headers" type="array">array of headers to send with the mail, in an&#x0a;associative array, where the array key is the&#x0a;header name (ie, &amp;apos;Subject&amp;apos;), and the array value&#x0a;is the header value (ie, &amp;apos;test&amp;apos;). The header&#x0a;produced from those values would be &amp;apos;Subject:&#x0a;test&amp;apos;.</parameter><parameter name="$body" type="string">full text of the message body, including any&#x0a;Mime parts, etc.</parameter><return name="" type="mixed">Returns true on success, or a PEAR_Error&#x0a;containing a descriptive error message on&#x0a;failure.</return><description>command.</description><shortdescription>Implements Mail::send() function using php&amp;apos;s built-in mail()</shortdescription></doc></function><function name="prepareHeaders" undoc="false" access="private"><doc><parameter name="$headers" type="array">array of headers to prepare, in an associative&#x0a;array, where the array key is the header name (ie,&#x0a;&amp;apos;Subject&amp;apos;), and the array value is the header&#x0a;value (ie, &amp;apos;test&amp;apos;). The header produced from those&#x0a;values would be &amp;apos;Subject: test&amp;apos;.</parameter><return name="" type="mixed">Returns false if it encounters a bad address,&#x0a;otherwise returns an array containing two&#x0a;elements: Any From: address found in the headers,&#x0a;and the plain text version of the headers.</return><description>text usable in sending a message.</description><shortdescription>Take an array of mail headers and return a string containing</shortdescription></doc></function><function name="parseRecipients" undoc="false" access="private"><doc><parameter name="$recipients" type="mixed">a comma-seperated list of recipients&#x0a;(RFC822 compliant), or an array of recipients,&#x0a;each RFC822 valid.</parameter><return name="" type="array">An array of forward paths (bare addresses).</return><description>bare addresses (forward paths) that can be passed to sendmailor an smtp server with the rcpt to: command.</description><shortdescription>Take a set of recipients and parse them, returning an array of</shortdescription></doc></function><inherited src="PEAR" type="functions"><element>pear</element><element>_pear</element><element>iserror</element><element>_pear_call_destructors</element></inherited><inherited src="PEAR" type="variables"><element>$_debug</element></inherited><inherited src="PEAR" type="consts"><element>pear_error_return</element><element>pear_error_print</element><element>pear_error_trigger</element><element>pear_error_die</element><element>pear_error_callback</element><element>php_bindir</element><element>pear_install_dir</element><element>pear_extension_dir</element></inherited><path><parent>PEAR</parent></path><baseclass>PEAR</baseclass><subclasses><subclass>Mail_sendmail</subclass><subclass>Mail_smtp</subclass></subclasses></class></phpdoc>
