MediaWiki REL1_31
mail.php
Go to the documentation of this file.
1<?php
2
9class PEAR {
14 public static function isError( $data ) {
15 }
16}
17
22 public function getMessage() {
23 }
24}
25
26class Mail {
32 static public function factory( $driver, array $params = [] ) {
33 }
34
41 public function send( $recipients, array $headers, $body ) {
42 }
43}
44
45class Mail_smtp extends Mail {
46}
47
48class Mail_mime {
52 public function __construct( $params = [] ) {
53 }
54
61 public function setTXTBody( $data, $isfile = false, $append = false ) {
62 }
63
69 public function setHTMLBody( $data, $isfile = false ) {
70 }
71
78 public function get( $params = null, $filename = null, $skip_head = false ) {
79 }
80
87 public function headers( array $xtra_headers = null, $overwrite = false, $skip_content = false ) {
88 }
89}
__construct( $params=[])
Definition mail.php:52
setTXTBody( $data, $isfile=false, $append=false)
Definition mail.php:61
setHTMLBody( $data, $isfile=false)
Definition mail.php:69
headers(array $xtra_headers=null, $overwrite=false, $skip_content=false)
Definition mail.php:87
Definition mail.php:26
send( $recipients, array $headers, $body)
Definition mail.php:41
static factory( $driver, array $params=[])
Definition mail.php:32
getMessage()
Definition mail.php:22
Minimal set of classes necessary for UserMailer to be happy.
Definition mail.php:9
static isError( $data)
Definition mail.php:14
processing should stop and the error should be shown to the user * false
Definition hooks.txt:187
$params