PHPã®PEARã¢ã¸ã¥ã¼ã«ã®Mailã¯ã©ã¹ã§SMTPã®å©ç¨ã«ã¤ãã¦ããã¦ã³ã¹ã¡ã¼ã«ã®åãåãã¢ãã¬ã¹ã®æå®ããã¾ãããã¾ããã é常ãsendmailãªã©mail()é¢æ°ã§ã¯ãå¼æ°ã«-fãªãã·ã§ã³ã[email protected]ãã§ã¨ã³ããã¼ãsenderãæå®ãã åä¿¡ã¡ã¼ã«ã®Return-Pathãã£ã¼ã«ãã«[email protected]ãä»ãã¨æãã¾ãããããã $mail = Mail::factory('smtp', $params);//第ä¸å¼æ°ã§ããããã¯ã¨ã³ãã¯mailã§ããªãsendmailã§ããªããsmtpã§ã $headers = array( 'Return-Path' => '[email protected]', ); $mail->send($recipients, $headers, $body); ï¼ä½è¨ãªã³ã¼ãã¯çç¥ï¼ ã¨ãããã¼ã«ã«ãªã¢ãã¬ã¹ã«é
{{#tags}}- {{label}}
{{/tags}}