Lines Matching refs:mail

2 Test mail() function : array extra header basic functionality
5 mail.add_x_header = Off
13 /* Prototype : int mail(string to, string subject, string message [, mixed additional_headers [, s…
15 * Source code: ext/standard/mail.c
21 echo "*** Testing mail() : basic functionality ***\n";
42 // Calling mail() with all additional headers
43 var_dump( mail($to, $subject, $message, $additional_headers) );
69 // Calling mail() with all additional headers
70 var_dump( mail($to, $subject, $message, $additional_headers) );
94 // Calling mail() with all additional headers
95 var_dump( mail($to, $subject, $message, $additional_headers) );
122 // Calling mail() with all additional headers
123 var_dump( mail($to, $subject, $message, $additional_headers) );
130 *** Testing mail() : basic functionality ***
151 Warning: mail(): 'orig-date' header must be at most one header. Array is passed for 'orig-date' in …
153 Warning: mail(): 'from' header must be at most one header. Array is passed for 'from' in %s on line…
155 Warning: mail(): 'sender' header must be at most one header. Array is passed for 'sender' in %s on …
157 Warning: mail(): 'reply-to' header must be at most one header. Array is passed for 'reply-to' in %s…
159 Warning: mail(): Extra header cannot contain 'To' header in %s on line 59
161 Warning: mail(): 'bcc' header must be at most one header. Array is passed for 'bcc' in %s on line 59
163 Warning: mail(): 'message-id' header must be at most one header. Array is passed for 'message-id' i…
165 Warning: mail(): 'in-reply-to' header must be at most one header. Array is passed for 'in-reply-to'…
176 Warning: mail(): Multiple header key must be numeric index (foo1) in %s on line 84
178 Warning: mail(): Multiple header values must be string (foo2) in %s on line 84
180 Warning: mail(): Multiple header values must be string (foo3) in %s on line 84
182 Warning: mail(): Multiple header values must be string (foo4) in %s on line 84
184 Warning: mail(): Multiple header values must be string (foo5) in %s on line 84
186 Warning: mail(): Multiple header values must be string (foo6) in %s on line 84
188 Warning: mail(): Multiple header values must be string (foo7) in %s on line 84
200 Warning: mail(): Header field name (*:foo1) contains invalid chars in %s on line 112
202 Warning: mail(): Header field name (foo2:::) contains invalid chars in %s on line 112
204 Warning: mail(): Header field name () contains invalid chars in %s on line 112
206 Warning: mail(): Header field name (foo7) contains invalid chars in %s on line 112
208 Warning: mail(): Header field value (foo10 => abc) contains invalid chars or format in %s on line 1…