/PHP-5.6/ext/standard/tests/mail/ |
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_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_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_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 | 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_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_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(): "sendmail_from" not set in php.ini or custom "From:" header missing in %s on line …
|
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_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', '')
|
H A D | mail_skipif.inc | 5 …// be sure mail server is accessible... on PHP 5.3.13 release build, using test-pack PHP-5.3-r1af8… 6 // the code below didn't skip test even though there was no mail server 7 // test then failed (no mail server to test against) 11 socket_connect($socket, "localhost", 143) or die ("skip can't socket to mail server");
|
/PHP-5.6/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 %unicode|string%(21) "test=mail@example.com" 23 %unicode|string%(21) "test-mail@example.com" 24 %unicode|string%(21) "test+mail@example.com" 25 %unicode|string%(21) "test?mail@example.com"
|
/PHP-5.6/ext/imap/tests/ |
H A D | README | 2 Many of the tests in this directory require a mail server to be running, if there is no mail server… 9 …ething.com. It's also necessary to set up one additional user ID (vmail) to own the mail directory. 22 mail_location = maildir:/home/vmail/mail/%d/%n/Maildir 37 args = uid=11459 gid=1002 home=/home/vmail/dovecot/mail/%d/%n
|
/PHP-5.6/ext/standard/ |
H A D | php_mail.h | 24 PHP_FUNCTION(mail); 25 PHP_MINFO_FUNCTION(mail);
|