Results of 1 - 10 of about 12 for smtp (0.003 sec.)
- 実行時設定 | PHP 8.3 14521
- 実行時設定 php.ini の設定により動作が変化します。 Mail 設定オプション 名前 デフォルト 変更可能 変更履歴 mail.add_x_header "0" INI_PERDIR mail.mixed_lf_and_crlf "0" INI_SYSTEM | INI_PERDIR PHP 8.2.4 で追加されました。 mail.log NULL INI_SYSTE
... M | INI_PERDIR mail.force_extra_parameters NULL INI_SYSTEM SMTP "localhost" INI_ALL smtp_port "25" INI_ALL sendmail_from NULL INI_ALL sendmail_path "/usr/sbin/sendmail -t -i" INI_SYSTEM ... M のデフォルトの振る舞いに加えて、 この値は httpd.conf の php_value を使って設定することもできます(が、お勧めはしません)。 SMTP string Windows 環境のみで使用されます: mail() 関数でメールを送信する際に使用する SMTP サーバーのホスト名または IP アドレス ... 。 smtp_port int Windows 環境のみで使用されます: SMTP 設定で指定したサーバーに接続するポート番号で、 デフォルトは 25 です。 sendma ...
-
https://man.mtool.work/php/8.3/mail.configuration.html
- mail — メールを送信する | PHP 8.3 9303
- 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 メールを送信します。 パラメータ
... るメッセージ。 改行コードは CRLF (\r\n) となります。各行の長さは 70 文字を超えては いけません。 警告 (Windows のみ)PHP が SMTP サーバーと直接通信をする際、行頭に ピリオドがある場合、そのピリオドは除去されます。これを防ぐには、行頭のピリオドを ピリオ ... ーメッセージが返ります Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing 。 Windows では、SMTP経由で直接メールを送信する際は、 From ヘッダを設定すると Return-Path も設定されます。 注意 : メッセージが受信されなかった場合 ... メールを送信する場合は、PEAR パッケージ » PEAR::Mail_Mime を利用することを推奨します。 注意 注意 : Windows 環境での mail() のSMTP実装は、sendmail の実装とは 多くの点で違います。 第一に、メッセージの生成にローカルのバイナリは使用せず、 ソケットを通じて直 ...
-
https://man.mtool.work/php/8.3/function.mail.html
- iconv_mime_decode_headers — 複数の MIME ヘッダフィールドを一度にデコードする | ... 8720
- iconv_mime_decode_headers (PHP 5, PHP 7, PHP 8) iconv_mime_decode_headers — 複数の MIME ヘッダフィールドを一度にデコードする 説明 function iconv_mime_decode_headers ( string $headers , int $mode = 0 , ? string $encoding = null ): array | fa
... n 1970 00:00:00 +0000 Message-Id: <example@example.com> Received: from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=exam ... Message-Id] => <example@example.com> [Received] => Array ( [0] => from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=exam ...
-
https://man.mtool.work/php/8.3/function.iconv-mime-decode-headers.html
- EventBufferEvent::sslFilter — Create a new SSL buffer event to send its data ov... 8596
- EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEvent::sslFilter — Create a new SSL buffer event to send its data over another buffer event 説明 public static function EventBufferEvent::sslFilter ( EventBase $base , EventB
... SSL_CONNECTING . options One or more buffer event options. 戻り値 Returns a new SSL EventBufferEvent object. 例 例1 Simple SMTP server <?php /* * Author: Andrew Rose <hello at andrewrose dot co dot uk> * * Usage: * 1) Prepare cert.pem certificate and ... files. * 2) Launch the server script * 3) Open TLS connection, e.g.: * $ openssl s_client -connect localhost:25 -starttls smtp -crlf * 4) Start testing the commands listed in `cmd` method below. */ class Handler { public $domainName = FALSE ; public ...
-
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
- 定義済み定数 | PHP 8.3 8596
- 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 NIL ( int ) PHP 8.1.0 以降は非推奨。 OP_DEBUG ( int ) OP_READONLY ( int ) メー
... ) 最初の body 部の型: model TYPEOTHER ( int ) 最初の body 部の型: unknown ENC7BIT ( int ) body 部のエンコーディング: 7 bit SMTP semantic data ENC8BIT ( int ) body 部のエンコーディング: 8 bit SMTP semantic data ENCBINARY ( int ) body 部のエンコーディン ...
-
https://man.mtool.work/php/8.3/imap.constants.html
- getservbyname — インターネットサービスおよびプロトコルが関連するポート番号を取... 8490
- getservbyname (PHP 4, PHP 5, PHP 7, PHP 8) getservbyname — インターネットサービスおよびプロトコルが関連するポート番号を取得する 説明 function getservbyname ( string $service , string $protocol ): int | false getservbyname() は、 /etc/servic
... 場合は false を返します。 例 例1 getservbyname() の例 <?php $services = array( 'http' , 'ftp' , 'ssh' , 'telnet' , 'imap' , 'smtp' , 'nicname' , 'gopher' , 'finger' , 'pop3' , 'www' ); foreach ( $services as $service ) { $port = getservbyname ( $servic ...
-
https://man.mtool.work/php/8.3/function.getservbyname.html
- 定義済み定数 | PHP 8.3 8366
- 定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 以下の定数の説明と使い方は、 curl_setopt() , curl_multi_setopt() , curl_getin
... true を指定すると、必要なプロキシの認証を行って接続を確立するだけで、 データ転送を行わなくなります。このオプションは HTTP、SMTP、POP3 で実装されています。 デフォルト値は false です。 cURL 7.15.2 以降で利用可能です。 CURLOPT_CONNECT_TO ( int ) URL のホ ... ing が使われた場合、RFC 2554 に従って山括弧の組が送信されます。 cURL 7.25.0 以降で利用可能です。 CURLOPT_MAIL_FROM ( int ) SMTP メール送信時の送信者のメールアドレスを string で指定します。 このメールアドレスは、山括弧 ( <> ) で囲んで指定する必要があり ... 、 指定されていない場合は自動的に追加されます。 このパラメータが指定されていない場合、空のアドレスが SMTP サーバーに送信され、メールが拒否される可能性があります。 cURL 7.20.0 以降で利用可能です。 CURLOPT_MAIL_RCPT ( int ) SMTP メ ...
-
https://man.mtool.work/php/8.3/curl.constants.html
- 日本語のマルチバイト文字に関する基本事項 | PHP 8.3 8136
- 日本語のマルチバイト文字に関する基本事項 日本語の文字は、マルチバイトエンコーディングを使用しないと表せません。 また、プラットフォームや使用目的によって複数の標準エンコーディングが 使い分けられています。さらに悪いことに、 これらの複数の標準
... で定義されたシフト (エスケープ) シーケンスを使用して、特定のコード範囲 ( 00h から 7fh まで) のコードマップを切り替えます。 SMTP/NNTPでは、ISO-2022-JP を使用する必要があり、ヘッダとエンティティは 各 RFC の規定に基づき再度符号化される必要があります。 こ ...
-
https://man.mtool.work/php/8.3/mbstring.ja-basic.html
- php.ini ディレクティブのリスト | PHP 8.3 7906
- php.ini ディレクティブのリスト 以下のリストには、PHP の設定を行うための php.ini ディレクティブが 含まれます。 "変更可能" カラムは、そのディレクティブをいつどこで定義できるかを表すモードです。その意味については どこで設定を行うのか を参照くだ
... PHP 7.1.0 で削除されました。 session.entropy_length "0" INI_ALL PHP 7.1.0 で削除されました。 short_open_tag "1" INI_PERDIR SMTP "localhost" INI_ALL smtp_port "25" INI_ALL soap.wsdl_cache_enabled 1 INI_ALL soap.wsdl_cache_dir /tmp INI_ALL soap.wsdl_ca ...
-
https://man.mtool.work/php/8.3/ini.list.html
- 例 | PHP 8.3 7800
- 例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove
... th is not provided\n" ); } $sock_path = $argv [ 1 ]; $l = new MyListener ( $sock_path ); $l -> dispatch (); ?> 例13 Simple SMTP server <?php /* * Author: Andrew Rose <hello at andrewrose dot co dot uk> * * Usage: * 1) Prepare cert.pem certificate and ... files. * 2) Launch the server script * 3) Open TLS connection, e.g.: * $ openssl s_client -connect localhost:25 -starttls smtp -crlf * 4) Start testing the commands listed in `cmd` method below. */ class Handler { public $domainName = FALSE ; public ...
-
https://man.mtool.work/php/8.3/event.examples.html