Class Deliver_SendMail

Description
Description | Vars (details) | Methods (details)

Delivers messages using the sendmail binary

  • author: Marc Groot Koerkamp

Located in /class/deliver/Deliver_SendMail.class.php (line 23 )

Deliver
 |
 --Deliver_SendMail
Variable Summary
Description | Vars (details) | Methods (details)
Method Summary
Description | Vars (details) | Methods (details)
void Deliver_SendMail ([array $params = array()])
void __construct ([array $params = array()])
boolean finalizeStream (resource $stream)
void initStream (Message $message, string $sendmail_path, [ $ignore_1 = 0], [ $ignore_2 = ''], [ $ignore_3 = ''], [ $ignore_4 = ''], [ $ignore_5 = ''], [ $ignore_6 = false], [ $ignore_7 = ''], [ $ignore_8 = array()], mixed $ignore_x)
Variables
Description | Vars (details) | Methods (details)
string $sendmail_args = '-i -t' (line 37 )

Extra sendmail arguments

Parameter can be set in class constructor function.

WARNING: Introduction of this parameter broke backwards compatibility with workarounds specific to qmail-inject.

If parameter needs some security modifications, it should be set to private in PHP 5+ in order to prevent uncontrolled access.

  • since: 1.5.1 and 1.4.8
string $sendmail_command = '' (line 45 )

Stores used sendmail command Private variable that is used to inform about used sendmail command.

  • since: 1.5.1 and 1.4.8
Methods
Description | Vars (details) Methods (details)
Constructor Deliver_SendMail (line 70 )

Constructor (PHP4 style, kept for compatibility reasons)

  • since: 1.5.1 and 1.4.8
void Deliver_SendMail ([array $params = array()])
  • array $params: configuration options. array key = option name, array value = option value.
Constructor __construct (line 54 )

Constructor (PHP5 style, required in some future version of PHP)

  • since: 1.5.1 and 1.4.8
void __construct ([array $params = array()])
  • array $params: configuration options. array key = option name, array value = option value.
finalizeStream (line 123 )

function finalizeStream

Close the stream.

  • access: public
boolean finalizeStream (resource $stream)
  • resource $stream
initStream (line 103 )

function initStream

Initialise the sendmail connection.

  • access: public
void initStream (Message $message, string $sendmail_path, [ $ignore_1 = 0], [ $ignore_2 = ''], [ $ignore_3 = ''], [ $ignore_4 = ''], [ $ignore_5 = ''], [ $ignore_6 = false], [ $ignore_7 = ''], [ $ignore_8 = array()], mixed $ignore_x)
  • Message $message: Message object containing the from address
  • string $sendmail_path: Location of sendmail binary
  • mixed $ignore_x: Eight extra arguments that the parent class requires which are not used here
  • $ignore_1
  • $ignore_2
  • $ignore_3
  • $ignore_4
  • $ignore_5
  • $ignore_6
  • $ignore_7
  • $ignore_8

Redefinition of:
Deliver::initStream()
function initStream - reserved for extended functionality

Inherited Methods

Inherited From Deliver

Deliver::calculate_references()
Deliver::clean_crlf()
Deliver::foldLine()
Deliver::getBCC()
Deliver::initStream()
Deliver::ip2hex()
Deliver::mail()
Deliver::mimeBoundary()
Deliver::prepareMIME_Header()
Deliver::prepareRFC822_Header()
Deliver::preWriteToStream()
Deliver::send_mail()
Deliver::strip_crlf()
Deliver::timezone()
Deliver::writeBody()
Deliver::writeBodyPart()
Deliver::writeToStream()

Documentation generated on 2020年1月13日 04:24:31 +0100 by phpDocumentor 1.4.3

AltStyle によって変換されたページ (->オリジナル) /