{"id":2019,"date":"2016-09-27T15:30:16","date_gmt":"2016-09-27T12:00:16","guid":{"rendered":"https:\/\/day.ir\/blog\/?p=2019"},"modified":"2023-01-02T13:45:34","modified_gmt":"2023-01-02T10:15:34","slug":"php-sample-mail-code","status":"publish","type":"post","link":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/","title":{"rendered":"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php"},"content":{"rendered":"<h1><span style=\"color: #333399;\">\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php<\/span><\/h1>\n<h2><span style=\"color: #333399;\">PHPMailer :<\/span><\/h2>\n<p><a href=\"https:\/\/github.com\/PHPMailer\/PHPMailer\" target=\"_blank\" rel=\"noopener\">PHPMailer<\/a> \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0628\u0647 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a. \u0645\u06cc \u062a\u0648\u0627\u0646 \u06af\u0641\u062a \u0627\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0627\u0632 \u0645\u062d\u0628\u0648\u0628\u062a\u0631\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0647\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u062f\u0631 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a \u06a9\u0647 \u0627\u06a9\u062b\u0631 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0646\u0628\u0639 \u0628\u0627\u0632 \u0647\u0645\u0686\u0648\u0646 \u0648\u0631\u062f\u067e\u0631\u0633\u060c \u062c\u0648\u0645\u0644\u0627 \u0648 \u0647\u0645\u0627\u0646\u0646\u062f \u0622\u0646 \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0646\u0645\u0627\u06cc\u0646\u062f \u0648 \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php \u0628\u0627 \u062a\u0648\u0636\u06cc\u062d \u0646\u0635\u0628 \u0628\u0631\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647. \u0627\u0632 \u0642\u0627\u0628\u0644\u06cc\u062a \u0647\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0647 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f :<br \/>\n1- \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 SMTP \u0648 \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0645\u06cc\u0644 \u0633\u0631\u0648\u0631 \u0645\u062d\u0644\u06cc<br \/>\n2- \u0627\u0645\u06a9\u0627\u0646 \u0627\u0631\u0633\u0627\u0644 \u0686\u0646\u062f\u06af\u0627\u0646\u0647 \u0627\u06cc\u0645\u06cc\u0644 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0622\u06cc\u062a\u0645 \u0647\u0627\u06cc TOs, CCs, BCCs \u0648 REPLY-TOs<br \/>\n3- \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u062d\u062a\u0648\u06cc \u0628\u0631 \u0627\u0633\u0627\u0633 UTF-8 \u0628\u0647 \u0645\u0646\u0638\u0648\u0631 \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u0641\u0627\u0631\u0633\u06cc<br \/>\n4- \u067e\u06cc\u063a\u0627\u0645 \u0647\u0627\u06cc \u062e\u0637\u0627 \u062f\u0631 47 \u0632\u0628\u0627\u0646<br \/>\n5- \u0633\u0627\u0632\u06af\u0627\u0631\u06cc \u0628\u0627 \u0648\u0631\u0698\u0646 PHP5 \u0648 \u0628\u0627\u0644\u0627\u062a\u0631<br \/>\n6- \u0648 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u062f\u06cc\u06af\u0631<\/p>\n<h2><span style=\"color: #333399;\">\u062f\u0627\u0646\u0644\u0648\u062f \u0646\u0645\u0648\u0646\u0647 phpMailer:<\/span><\/h2>\n<p>\u0627\u0628\u062a\u062f\u0627 \u0641\u0627\u06cc\u0644 \u0641\u0634\u0631\u062f\u0647 \u06a9\u0627\u0645\u0644 PHPMailer \u0631\u0627 \u0627\u0632 <a href=\"https:\/\/day.ir\/download\/php-mailer-master.zip\" target=\"_blank\" rel=\"noopener\">\u0627\u06cc\u0646\u062c\u0627 \u062f\u0627\u0646\u0644\u0648\u062f<\/a> \u06a9\u0646\u06cc\u062f\u060c \u0633\u067e\u0633 \u062f\u0631 \u0647\u0627\u0633\u062a \u0645\u0631\u0628\u0648\u0637\u0647 \u0622\u067e\u0644\u0648\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f.<br \/>\nPHPMailer \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0648\u062f\u0646 \u062e\u0637 \u0632\u06cc\u0631 \u062f\u0631 \u0641\u0627\u06cc\u0644 &#8220;composer.json&#8221; \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f :<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-2302\" src=\"https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/phpmailer1.jpg\" alt=\"\" width=\"373\" height=\"48\" srcset=\"https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/phpmailer1.jpg 373w, https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/phpmailer1-368x48.jpg 368w\" sizes=\"(max-width: 373px) 100vw, 373px\" \/><\/p>\n<p>\u0648 \u06cc\u0627 \u06a9\u062f \u0632\u06cc\u0631:<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-2303\" src=\"https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/phpmailer.jpg\" alt=\"phpmailer-composer.json\" width=\"374\" height=\"47\" srcset=\"https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/phpmailer.jpg 374w, https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/phpmailer-368x47.jpg 368w\" sizes=\"(max-width: 374px) 100vw, 374px\" \/><\/p>\n<p><strong>\u062f\u0627\u0646\u0644\u0648\u062f \u06cc\u06a9 <a href=\"https:\/\/day.ir\/download\/php-mailer-sample.zip\" target=\"_blank\" rel=\"noopener\">\u0646\u0645\u0648\u0646\u0647<\/a> phpMailer<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0647\u0631 \u06af\u0648\u0646\u0647 \u06a9\u067e\u06cc \u0628\u0631\u062f\u0627\u0631\u06cc \u0627\u0632 \u0627\u06cc\u0646 \u0645\u0637\u0644\u0628 \u062a\u0646\u0647\u0627 \u0628\u0627 \u062f\u0631\u062c \u0644\u06cc\u0646\u06a9 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u0646\u0628\u0639 \u0627\u0632 \u0648\u0628\u0644\u0627\u06af \u0634\u0628\u06a9\u0647 \u062f\u06cc\u00a0\u0628\u0644\u0627\u0645\u0627\u0646\u0639 \u0627\u0633\u062a<\/strong><\/p>\n<p>\u0645\u0637\u0627\u0644\u0628 \u0645\u0631\u062a\u0628\u0637:<br \/>\n<a href=\"https:\/\/day.ir\/dedicated-email\" target=\"_blank\" rel=\"noopener\"><b><br \/>\n\u062e\u0631\u06cc\u062f \u0622\u0646\u0644\u0627\u06cc\u0646 \u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc \u0627\u06cc\u0645\u06cc\u0644 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc<\/b><\/a>\u00a0 \u00a0 \u00a0\u00a0<strong><a href=\"https:\/\/day.ir\/blog\/email\/create-gmail-account\/\" target=\"_blank\" rel=\"noopener\">\u0622\u0645\u0648\u0632\u0634 \u0648 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0633\u0627\u062e\u062a \u0627\u06cc\u0645\u06cc\u0644 \u0631\u0627\u06cc\u06af\u0627\u0646 \u06af\u0648\u06af\u0644 Gmail<\/a>\u00a0 \u00a0 \u00a0<\/strong><a href=\"https:\/\/day.ir\/blog\/email\/set-outlook-default-font\/\" target=\"_blank\" rel=\"noopener\"><b>\u062a\u063a\u06cc\u06cc\u0631 \u0641\u0648\u0646\u062a \u067e\u06cc\u0634 \u0641\u0631\u0636 \u062f\u0631 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0627\u06cc\u0645\u06cc\u0644 \u0622\u0648\u062a\u0644\u0648\u06a9<\/b><\/a>\u00a0 \u00a0 \u00a0<a href=\"https:\/\/day.ir\/exchange-hosting\" target=\"_blank\" rel=\"noopener\"><strong>\u0645\u06cc\u0632\u0628\u0627\u0646\u06cc \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0627\u06a9\u0633\u0686\u0646\u062c<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php PHPMailer : PHPMailer \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0628\u0647 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a. \u0645\u06cc \u062a\u0648\u0627\u0646 \u06af\u0641\u062a \u0627\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0627\u0632 \u0645\u062d\u0628\u0648\u0628\u062a\u0631\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0647\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u062f\u0631 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a \u06a9\u0647 \u0627\u06a9\u062b\u0631 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631\u0647\u0627\u06cc \u0645\u0646\u0628\u0639 \u0628\u0627\u0632 \u0647\u0645\u0686\u0648\u0646 \u0648\u0631\u062f\u067e\u0631\u0633\u060c \u062c\u0648\u0645\u0644\u0627 \u0648 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2298,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-2019","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-email"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php - \u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645<\/title>\n<meta name=\"description\" content=\"PHPMailer \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php \u0642\u0627\u0628\u0644 \u062f\u0627\u0646\u0644\u0648\u062f...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php - \u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645\" \/>\n<meta property=\"og:description\" content=\"PHPMailer \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php \u0642\u0627\u0628\u0644 \u062f\u0627\u0646\u0644\u0648\u062f...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-27T12:00:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-02T10:15:34+00:00\" \/>\n<meta name=\"author\" content=\"jafar broujerdi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"jafar broujerdi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/\"},\"author\":{\"name\":\"jafar broujerdi\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#\\\/schema\\\/person\\\/8896e645096b6a8528b1bb57617f4b8b\"},\"headline\":\"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php\",\"datePublished\":\"2016-09-27T12:00:16+00:00\",\"dateModified\":\"2023-01-02T10:15:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/\"},\"wordCount\":28,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/day.ir\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/php-mailer.svg\",\"articleSection\":[\"\u0627\u06cc\u0645\u06cc\u0644 e-Mail\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/\",\"url\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/\",\"name\":\"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php - \u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/day.ir\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/php-mailer.svg\",\"datePublished\":\"2016-09-27T12:00:16+00:00\",\"dateModified\":\"2023-01-02T10:15:34+00:00\",\"description\":\"PHPMailer \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php \u0642\u0627\u0628\u0644 \u062f\u0627\u0646\u0644\u0648\u062f...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/#primaryimage\",\"url\":\"https:\\\/\\\/day.ir\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/php-mailer.svg\",\"contentUrl\":\"https:\\\/\\\/day.ir\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/php-mailer.svg\",\"width\":240,\"height\":240,\"caption\":\"\u062f\u0627\u0646\u0644\u0648\u062f php mailer \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/email\\\/php-sample-mail-code\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\\\/\\\/day.ir\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/day.ir\\\/blog\\\/\",\"name\":\"\u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645\",\"description\":\"\u0645\u0642\u0627\u0644\u0627\u062a \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 \u0648\u0628\u060c \u0627\u06cc\u0645\u06cc\u0644\u060c \u062f\u0627\u0645\u0646\u0647\u060c \u0634\u0628\u06a9\u0647\u060c \u0637\u0631\u0627\u062d\u06cc \u0633\u0627\u06cc\u062a \u0648 ...\",\"publisher\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/day.ir\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#organization\",\"name\":\"\u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645\",\"url\":\"https:\\\/\\\/day.ir\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/day.ir\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/cropped-favicon.png\",\"contentUrl\":\"https:\\\/\\\/day.ir\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/cropped-favicon.png\",\"width\":511,\"height\":512,\"caption\":\"\u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645\"},\"image\":{\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/day.ir\\\/blog\\\/#\\\/schema\\\/person\\\/8896e645096b6a8528b1bb57617f4b8b\",\"name\":\"jafar broujerdi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/163109584cb1bc8719ac5b0cb7d280a96523792861596b891d46ef3d55c7b1b2?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/163109584cb1bc8719ac5b0cb7d280a96523792861596b891d46ef3d55c7b1b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/163109584cb1bc8719ac5b0cb7d280a96523792861596b891d46ef3d55c7b1b2?s=96&d=mm&r=g\",\"caption\":\"jafar broujerdi\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php - \u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645","description":"PHPMailer \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php \u0642\u0627\u0628\u0644 \u062f\u0627\u0646\u0644\u0648\u062f...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/","og_locale":"fa_IR","og_type":"article","og_title":"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php - \u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645","og_description":"PHPMailer \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php \u0642\u0627\u0628\u0644 \u062f\u0627\u0646\u0644\u0648\u062f...","og_url":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/","og_site_name":"\u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645","article_published_time":"2016-09-27T12:00:16+00:00","article_modified_time":"2023-01-02T10:15:34+00:00","author":"jafar broujerdi","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"jafar broujerdi","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"2 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/#article","isPartOf":{"@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/"},"author":{"name":"jafar broujerdi","@id":"https:\/\/day.ir\/blog\/#\/schema\/person\/8896e645096b6a8528b1bb57617f4b8b"},"headline":"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php","datePublished":"2016-09-27T12:00:16+00:00","dateModified":"2023-01-02T10:15:34+00:00","mainEntityOfPage":{"@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/"},"wordCount":28,"commentCount":0,"publisher":{"@id":"https:\/\/day.ir\/blog\/#organization"},"image":{"@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/#primaryimage"},"thumbnailUrl":"https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/php-mailer.svg","articleSection":["\u0627\u06cc\u0645\u06cc\u0644 e-Mail"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/","url":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/","name":"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php - \u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645","isPartOf":{"@id":"https:\/\/day.ir\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/#primaryimage"},"image":{"@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/#primaryimage"},"thumbnailUrl":"https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/php-mailer.svg","datePublished":"2016-09-27T12:00:16+00:00","dateModified":"2023-01-02T10:15:34+00:00","description":"PHPMailer \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0632\u0628\u0627\u0646 PHP \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 php \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php \u0642\u0627\u0628\u0644 \u062f\u0627\u0646\u0644\u0648\u062f...","breadcrumb":{"@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/#primaryimage","url":"https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/php-mailer.svg","contentUrl":"https:\/\/day.ir\/blog\/wp-content\/uploads\/2016\/09\/php-mailer.svg","width":240,"height":240,"caption":"\u062f\u0627\u0646\u0644\u0648\u062f php mailer \u0646\u0645\u0648\u0646\u0647 \u06a9\u062f"},{"@type":"BreadcrumbList","@id":"https:\/\/day.ir\/blog\/email\/php-sample-mail-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/day.ir\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0646\u0645\u0648\u0646\u0647 \u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 php"}]},{"@type":"WebSite","@id":"https:\/\/day.ir\/blog\/#website","url":"https:\/\/day.ir\/blog\/","name":"\u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645","description":"\u0645\u0642\u0627\u0644\u0627\u062a \u0645\u0631\u062a\u0628\u0637 \u0628\u0627 \u0648\u0628\u060c \u0627\u06cc\u0645\u06cc\u0644\u060c \u062f\u0627\u0645\u0646\u0647\u060c \u0634\u0628\u06a9\u0647\u060c \u0637\u0631\u0627\u062d\u06cc \u0633\u0627\u06cc\u062a \u0648 ...","publisher":{"@id":"https:\/\/day.ir\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/day.ir\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/day.ir\/blog\/#organization","name":"\u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645","url":"https:\/\/day.ir\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/day.ir\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/day.ir\/blog\/wp-content\/uploads\/2024\/09\/cropped-favicon.png","contentUrl":"https:\/\/day.ir\/blog\/wp-content\/uploads\/2024\/09\/cropped-favicon.png","width":511,"height":512,"caption":"\u0648\u0628\u0644\u0627\u06af \u062f\u06cc \u062a\u0644\u06a9\u0627\u0645"},"image":{"@id":"https:\/\/day.ir\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/day.ir\/blog\/#\/schema\/person\/8896e645096b6a8528b1bb57617f4b8b","name":"jafar broujerdi","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/secure.gravatar.com\/avatar\/163109584cb1bc8719ac5b0cb7d280a96523792861596b891d46ef3d55c7b1b2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/163109584cb1bc8719ac5b0cb7d280a96523792861596b891d46ef3d55c7b1b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/163109584cb1bc8719ac5b0cb7d280a96523792861596b891d46ef3d55c7b1b2?s=96&d=mm&r=g","caption":"jafar broujerdi"}}]}},"_links":{"self":[{"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/posts\/2019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/comments?post=2019"}],"version-history":[{"count":15,"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/posts\/2019\/revisions"}],"predecessor-version":[{"id":3349,"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/posts\/2019\/revisions\/3349"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/media\/2298"}],"wp:attachment":[{"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/media?parent=2019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/categories?post=2019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/day.ir\/blog\/wp-json\/wp\/v2\/tags?post=2019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}