{"id":6503,"date":"2024-09-22T10:36:33","date_gmt":"2024-09-22T01:36:33","guid":{"rendered":"https:\/\/taitan916.info\/blog\/?p=6503"},"modified":"2024-06-26T12:45:27","modified_gmt":"2024-06-26T03:45:27","slug":"post-6503","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/6503","title":{"rendered":"PHPMailer\u3067\u30a8\u30f3\u30d9\u30ed\u30fc\u30d7From(Return-Path)\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u540c\u3058\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u9001\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304c<a href=\"https:\/\/taitan916.info\/blog\/archives\/5397#PHPmb_send_mail\" target=\"_blank\" rel=\"noopener\">mb_send_mail\u95a2\u6570<\/a>\u3060\u3068\u53d7\u4fe1\u3067\u304d\u308b\u306e\u306b\u3001PHPMailer\u3060\u3068\u53d7\u4fe1\u3067\u304d\u306a\u3044\u3001\u3082\u3057\u304f\u306f\u8ff7\u60d1\u30e1\u30fc\u30eb\u5224\u5225\u3055\u308c\u308b\u3068\u3044\u3046\u3053\u3068\u304c\u3042\u3063\u305f\u3002\u30e1\u30fc\u30eb\u30d8\u30c3\u30c0\u30fc\u3092\u78ba\u8a8d\u3059\u308b\u3068PHPMailer\u304b\u3089\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u306f<a href=\"https:\/\/taitan916.info\/blog\/archives\/5397#From\" target=\"_blank\" rel=\"noopener\">\u30a8\u30f3\u30d9\u30ed\u30fc\u30d7From(Return-Path)<\/a>\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u3002\u4ee5\u4e0b\u306b\u6307\u5b9a\u65b9\u6cd5\u3092\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u5bfe\u5fdc\u65b9\u6cd5<\/h2>\n<p>\u4ee5\u4e0b\u306e\u5f62\u3067\u6307\u5b9a\u3059\u308b\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$mail-&gt;Sender = 'from@test.com';<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u305d\u306e\u4ed6<\/h2>\n<p>\u30a8\u30f3\u30d9\u30ed\u30fc\u30d7From(Return-Path)\u3092\u6307\u5b9a\u3057\u3066\u3082\u89e3\u6c7a\u3057\u306a\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u6697\u53f7\u5316\u3082\u8a66\u3057\u3066\u307f\u308b\u3068\u826f\u3044\u304b\u3082\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"MzallTfAlw\"><p><a href=\"https:\/\/taitan916.info\/blog\/archives\/3959\">PHPMailer\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u969b\u306bTLS \/ SSL\u6697\u53f7\u5316\u3055\u305b\u308b\u65b9\u6cd5<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;PHPMailer\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u969b\u306bTLS \/ SSL\u6697\u53f7\u5316\u3055\u305b\u308b\u65b9\u6cd5&#8221; &#8212; \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" src=\"https:\/\/taitan916.info\/blog\/archives\/3959\/embed#?secret=U3RtzFo14T#?secret=MzallTfAlw\" data-secret=\"MzallTfAlw\" width=\"580\" height=\"327\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h2>\u53c2\u8003\u30b5\u30a4\u30c8<\/h2>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/13918999\/how-to-change-envelope-sender-address-using-phpmailer\" target=\"_blank\" rel=\"noopener\">https:\/\/stackoverflow.com\/questions\/13918999\/how-to-change-envelope-sender-address-using-phpmailer<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u540c\u3058\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u9001\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304cmb_send_mail\u95a2\u6570\u3060\u3068\u53d7\u4fe1\u3067\u304d\u308b ... <\/p>\n","protected":false},"author":1,"featured_media":1085,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[90],"class_list":["post-6503","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-phpmailer"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=6503"}],"version-history":[{"count":1,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6503\/revisions"}],"predecessor-version":[{"id":6504,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/6503\/revisions\/6504"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/1085"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=6503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=6503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=6503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}