<?xml version="1.0"?><phpdoc><class name="Mail_sendmail" extends="Mail" undoc="false" access="private"><file>c:/www/apache/doc2//pear/Mail/sendmail.php</file><doc><author email="ssb@fast.no">Stig Bakken</author><inherited src="Array"/><overriden src="Array"/><description/><shortdescription>Sendmail implementation of the PEAR Mail:: interface.</shortdescription><since>PHP 4.0.2</since></doc><function name="Mail_sendmail" undoc="false" access="public"><doc><parameter name="$params" type="array">containing any parameters different from the&#x0a;defaults.</parameter><return type="void"/><description>Instantiates a new Mail_sendmail:: object based on the parameterspassed in. It looks for the following parameters:sendmail_path    The location of the sendmail binary on thefilesystem. Defaults to &amp;apos;/usr/sbin/sendmail&amp;apos;.If a parameter is present in the $params array, it replaces thedefault.</description><shortdescription>Constructor.</shortdescription></doc></function><function name="send" undoc="true" 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><overriden src="Mail"/><description>command-line binary.</description><shortdescription>Implements Mail::send() function using the sendmail</shortdescription></doc></function><variable name="$sendmail_path" access="private" type="string">&amp;apos;/usr/sbin/sendmail&amp;apos;<doc><description/><shortdescription>The location of the sendmail binary on the filesystem.</shortdescription></doc></variable><inherited src="Mail" type="functions"><element>factory</element><element>prepareheaders</element><element>parserecipients</element></inherited><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>Mail</parent><parent>PEAR</parent></path><baseclass>PEAR</baseclass></class></phpdoc>
