« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for webmaster (0.001 sec.)
mail — メールを送信する | PHP 8.3 9414
mail (PHP 4, PHP 5, PHP 7, PHP 8) mail — メールを送信する 説明 function mail ( string $to , string $subject , string $message , array | string $additional_headers = [] , string $additional_params = "" ): bool メールを送信します。 パラメータ ... アドレスを通知する。 <?php $to = 'nobody@example.com' ; $subject = 'the subject' ; $message = 'hello' ; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion (); mail ( $to , $subje ... で利用可能) <?php $to = 'nobody@example.com' ; $subject = 'the subject' ; $message = 'hello' ; $headers = array( 'From' => 'webmaster@example.com' , 'Reply-To' => 'webmaster@example.com' , 'X-Mailer' => 'PHP/' . phpversion () ); mail ( $to , $subject , $me ... タとして、 additional_params が用いられます。 <?php mail ( 'nobody@example.com' , 'the subject' , 'the message' , null , '-fwebmaster@example.com' ); ?> 例5 HTML メールを送信する mail() を用いて HTML メールを送信することも可能です。 <?php // 複数の受信者を ...
https://man.mtool.work/php/8.3/function.mail.html
PREV 1 NEXT