Lines Matching refs:message
17 $message = 'A Message';
33 var_dump(mail($to, $subject, $message, $additional_headers));
42 $message = 'A Message';
45 mail($to, $subject, $message, ['orig-date' => array('foo1')]);
51 mail($to, $subject, $message, ['from' => array('foo2')]);
57 mail($to, $subject, $message, ['sender' => array('foo3')]);
63 mail($to, $subject, $message, ['reply-to' => array('foo4')]);
69 mail($to, $subject, $message, ['to' => array('foo5')]);
75 mail($to, $subject, $message, ['bcc' => array('foo6')]);
81 mail($to, $subject, $message, ['message-id' => array('foo7')]);
87 mail($to, $subject, $message, ['in-reply-to'=> array('foo8')]);
97 $message = 'A Message';
100 mail($to, $subject, $message, ['foo1' => array('foo2'=>'bar1')]);
106 mail($to, $subject, $message, ['foo2' => array('foo2', array('foo3'))]);
112 mail($to, $subject, $message, ['foo3' => array(123)]);
118 mail($to, $subject, $message, ['foo4' => array(123.456)]);
124 mail($to, $subject, $message, ['foo5' => array(FALSE)]);
130 mail($to, $subject, $message, ['foo6' => array(NULL)]);
136 mail($to, $subject, $message, ['foo7' => array(new StdClass)]);
146 $message = 'A Message';
152 mail($to, $subject, $message, ['*:foo1' => array('bar1')]);
158 mail($to, $subject, $message, ['foo2:::' => array('bar1')]);
164 mail($to, $subject, $message, ['foo3()' => array('bar1')]);
170 mail($to, $subject, $message, ['foo4@' => array('bar1')]);
176 mail($to, $subject, $message, ['foo5|' => array('bar1')]);
182 mail($to, $subject, $message, ["\0foo6" => array('bar1')]);
188 mail($to, $subject, $message, ["foo7\0" => array('bar1')]);
194 mail($to, $subject, $message, ["foo8" => array()]);
199 var_dump(mail($to, $subject, $message, ["foo9" => '%&$#!']));
204 mail($to, $subject, $message, ["foo10" => "abc\0\tdef"]);
236 TypeError: Header "message-id" must be of type string, array given