/PHP-7.2/ext/standard/tests/mail/ |
H A D | mail_log.phpt | 2 Test mail() function : mail.log ini setting 4 sendmail_path=tee /tmp/mail.out >/dev/null 5 mail.log = /tmp/mail.log 15 $logfile = ini_get("mail.log"); 23 $subject = "mail.log test"; 24 $message = "Testing mail.log"; 30 var_dump(mail($to, $subject, $message, $headers)); 40 unlink("/tmp/mail.log"); 41 unlink("/tmp/mail.out"); 47 [%d-%s-%d %d:%d:%d UTC] mail() on [%smail_log.php:%d]: To: test@example.com -- Headers: X-Test: 1 -…
|
H A D | mail_error.phpt | 2 Test mail() function : error conditions 7 * Source code: ext/standard/mail.c 11 echo "*** Testing mail() : error conditions ***\n"; 14 //Test mail with one more than the expected number of arguments 24 // Testing mail with one less than the expected number of arguments 28 var_dump( mail($to, $subject) ); 33 *** Testing mail() : error conditions *** 35 -- Testing mail() function with more than expected no. of arguments -- 37 Warning: mail() expects at most 5 parameters, 6 given in %s on line %d 40 -- Testing mail() function with less than expected no. of arguments -- [all …]
|
H A D | mail_basic6.phpt | 2 Test mail() function : basic functionality 5 mail.add_x_header = Off 15 * Source code: ext/standard/mail.c 31 // Calling mail() with all additional headers 41 // Calling mail() with all additional headers 52 // Calling mail() with all additional headers 63 // Calling mail() with all additional headers 73 // Calling mail() with all additional headers 83 // Calling mail() with all additional headers 93 // Calling mail() with all additional headers [all …]
|
H A D | mail_basic7.phpt | 2 Test mail() function : array extra header basic functionality 5 mail.add_x_header = Off 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 122 // Calling mail() with all additional headers [all …]
|
H A D | mail_basic.phpt | 2 Test mail() function : basic functionality 5 mail.add_x_header = Off 13 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 15 * Source code: ext/standard/mail.c 19 echo "*** Testing mail() : basic functionality ***\n"; 31 // Calling mail() with all additional headers 32 var_dump( mail($to, $subject, $message, $additional_headers) ); 37 // Calling mail() with mandatory arguments 38 var_dump( mail($to, $subject, $message) ); 45 *** Testing mail() : basic functionality ***
|
H A D | mail_variation2.phpt | 2 Test mail() function : variation force extra parameters 5 mail.force_extra_parameters="-n" 6 mail.add_x_header = Off 14 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 16 * Source code: ext/standard/mail.c 20 echo "*** Testing mail() : basic functionality ***\n"; 30 var_dump( mail($to, $subject, $message) ); 37 *** Testing mail() : basic functionality ***
|
H A D | mail_basic2.phpt | 2 Test mail() function : basic functionality 10 mail.add_x_header = Off 13 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 15 * Source code: ext/standard/mail.c 19 echo "*** Testing mail() : basic functionality ***\n"; 32 // Calling mail() with all possible arguments 33 var_dump( mail($to, $subject, $message, $additional_headers, $additional_parameters) ); 40 *** Testing mail() : basic functionality ***
|
H A D | bug69874.phpt | 2 Bug #69874: Null addtional_headers does not send mail 5 mail.add_x_header = Off 13 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 15 * Source code: ext/standard/mail.c 19 echo "*** Testing mail() : send email without additional headers ***\n"; 29 var_dump( mail($to, $subject, $message) ); 36 *** Testing mail() : send email without additional headers ***
|
H A D | mail_basic3.phpt | 2 Test mail() function : basic functionality 12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 14 * Source code: ext/standard/mail.c 18 echo "*** Testing mail() : basic functionality ***\n"; 28 var_dump( mail($to, $subject, $message) ); 32 *** Testing mail() : basic functionality ***
|
H A D | mail_basic4.phpt | 2 Test mail() function : basic functionality 12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 14 * Source code: ext/standard/mail.c 18 echo "*** Testing mail() : basic functionality ***\n"; 29 var_dump( mail($to, $subject, $message) ); 33 *** Testing mail() : basic functionality ***
|
H A D | mail_basic5.phpt | 2 Test mail() function : basic functionality 12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 14 * Source code: ext/standard/mail.c 18 echo "*** Testing mail() : basic functionality ***\n"; 27 var_dump( mail($to, $subject, $message) ); 31 *** Testing mail() : basic functionality ***
|
H A D | mail_variation1.phpt | 2 Test mail() function : variation invalid program for sendmail 12 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 14 * Source code: ext/standard/mail.c 18 echo "*** Testing mail() : variation ***\n"; 24 var_dump( mail($to, $subject, $message) ); 28 *** Testing mail() : variation ***
|
H A D | bug69874_2.phpt | 2 Bug #69874: Null addtional_headers does not send mail 5 mail.add_x_header = On 13 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 15 * Source code: ext/standard/mail.c 19 echo "*** Testing mail() : send email without additional headers ***\n"; 29 var_dump( mail($to, $subject, $message, '') ); 36 *** Testing mail() : send email without additional headers ***
|
H A D | bug66535.phpt | 5 mail.add_x_header = On 13 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 15 * Source code: ext/standard/mail.c 19 echo "*** Testing mail() : send email without additional headers ***\n"; 29 var_dump( mail($to, $subject, $message) ); 36 *** Testing mail() : send email without additional headers ***
|
H A D | mail_variation_alt2-win32.phpt | 2 Test mail() function : basic functionality 15 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 17 * Source code: ext/standard/mail.c 26 echo "*** Testing mail() : basic functionality ***\n"; 31 $subject = "$subject_prefix: Basic PHPT test for mail() function"; 34 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 38 $res = mail($to, $subject, $message); 46 // Search for email message on the mail server using imap. 89 *** Testing mail() : basic functionality *** 91 Warning: mail(): Failed to connect to mailserver at "localplace" port 25, verify your "SMTP" and "s…
|
H A D | mail_variation_alt1-win32.phpt | 2 Test mail() function : basic functionality 15 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 17 * Source code: ext/standard/mail.c 26 echo "*** Testing mail() : basic functionality ***\n"; 31 $subject = "$subject_prefix: Basic PHPT test for mail() function"; 34 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 38 $res = mail($to, $subject, $message); 46 // Search for email message on the mail server using imap. 89 *** Testing mail() : basic functionality *** 91 Warning: mail(): Failed to connect to mailserver at "localhost" port 2525, verify your "SMTP" and "…
|
H A D | mail_variation_alt3-win32.phpt | 2 Test mail() function : basic functionality 15 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 17 * Source code: ext/standard/mail.c 25 echo "*** Testing mail() : basic functionality ***\n"; 30 $subject = "$subject_prefix: Basic PHPT test for mail() function"; 33 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 37 $res = mail($to, $subject, $message); 45 // Search for email message on the mail server using imap. 88 *** Testing mail() : basic functionality *** 90 Warning: mail(): Bad Message Return Path in %s on line %d
|
H A D | mail_basic_alt1-win32.phpt | 2 Test mail() function : basic functionality 16 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 18 * Source code: ext/standard/mail.c 27 echo "*** Testing mail() : basic functionality ***\n"; 32 $subject = "$subject_prefix: Basic PHPT test for mail() function"; 35 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 39 $res = mail($to, $subject, $message); 47 // Search for email message on the mail server using imap. 90 *** Testing mail() : basic functionality ***
|
H A D | mail_basic_alt2-win32.phpt | 2 Test mail() function : basic functionality 15 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 17 * Source code: ext/standard/mail.c 23 echo "*** Testing mail() : basic functionality ***\n"; 28 $subject = "$subject_prefix: Basic PHPT test for mail() function"; 31 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 37 $res = mail($to, $subject, $message, $extra_headers); 45 // Search for email message on the mail server using imap. 88 *** Testing mail() : basic functionality ***
|
H A D | mail_basic_alt3-win32.phpt | 2 Test mail() function : basic functionality 15 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 17 * Source code: ext/standard/mail.c 23 echo "*** Testing mail() : basic functionality ***\n"; 28 $subject = "$subject_prefix: Basic PHPT test for mail() function"; 31 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 37 $res = mail($to, $subject, $message, $extra_headers); 45 // Search for email message on the mail server using imap. 88 *** Testing mail() : basic functionality ***
|
H A D | mail_basic_alt4-win32.phpt | 2 Test mail() function : basic functionality 15 /* Prototype : int mail(string to, string subject, string message [, string additional_headers [, … 17 * Source code: ext/standard/mail.c 23 echo "*** Testing mail() : basic functionality ***\n"; 28 $subject = "$subject_prefix: Basic PHPT test for mail() function"; 31 bool mail ( string \$to , string \$subject , string \$message [, string \$additional_headers [, str… 38 $res = mail($to, $subject, $message, $extra_headers, $extra_parameters); 46 // Search for email message on the mail server using imap. 89 *** Testing mail() : basic functionality ***
|
H A D | bug73203.phpt | 2 Bug #73203 (passing additional_parameters causes mail to fail) 4 We're not really interested in testing mail() here, but it is currently the 10 mail.add_x_header = Off 18 mail('test@example.com', 'subject', 'message', 'From: lala@example.com', '')
|
/PHP-7.2/ext/filter/tests/ |
H A D | bug50158.phpt | 8 $email_address = "test=mail@example.com"; 11 $email_address = "test-mail@example.com"; 14 $email_address = "test+mail@example.com"; 17 $email_address = "test?mail@example.com"; 22 string(21) "test=mail@example.com" 23 string(21) "test-mail@example.com" 24 string(21) "test+mail@example.com" 25 string(21) "test?mail@example.com"
|
/PHP-7.2/ext/pcre/tests/ |
H A D | bug72463.phpt | 2 Bug #72463 mail fails with invalid argument 14 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", ""); 15 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
|
H A D | bug72463_2.phpt | 2 Bug #72463 mail fails with invalid argument 14 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", ""); 15 mail("some.address.it.wont.ever.reach@lookup.and.try.to.find.this.host.name","subject","a", NULL);
|