
{"id":2854,"date":"2016-05-01T21:02:20","date_gmt":"2016-05-01T20:02:20","guid":{"rendered":"https:\/\/www.trucnet.com\/?p=2854"},"modified":"2016-05-01T22:00:01","modified_gmt":"2016-05-01T21:00:01","slug":"un-script-denvoyer-demail-localement","status":"publish","type":"post","link":"https:\/\/www.trucnet.com\/en\/un-script-denvoyer-demail-localement\/","title":{"rendered":"A script to send emails locally"},"content":{"rendered":"<p>Testing an email sending script. The trick is simple; you don&#039;t even need an internet connection to test if these email sending codes work as intended.<br \/>\nWhat tools are needed? We only need Test Mail Server Tool. Don&#039;t worry, this software is completely free and lightweight; you can use it. <a href=\"http:\/\/www.toolheap.com\/test-mail-server-tool\/TestMailServerToolSetup.exe\" target=\"_blank\">Download here<\/a>.<br \/>\nInstall the software, start it, and you should see this:<\/p>\n<p><a  href=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/Testemail.jpg\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2855\" src=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/Testemail-300x181.jpg\" alt=\"Testemail\" width=\"300\" height=\"181\" srcset=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/Testemail-300x181.jpg 300w, https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/Testemail.jpg 480w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<br \/>\nLeave the default settings as they are; the emails you send via your application will automatically be sent as &quot;.eml&quot; files to the folder of your choice. If you haven&#039;t changed the default settings, they are normally located in the &quot;Mail sent to local server&quot; folder on your desktop.<br \/>\nIf you have an email client (Mozilla Thunderbird for example) the emails will open automatically as in the figure below (if your script works well of course).<\/p>\n<p><a  href=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/mail.jpg\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2856\" src=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/mail-300x152.jpg\" alt=\"mail\" width=\"300\" height=\"152\" srcset=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/mail-300x152.jpg 300w, https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/mail-768x388.jpg 768w, https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/mail-600x303.jpg 600w, https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/05\/mail.jpg 865w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Tester un script d\u2019envoi de courrier \u00e9lectronique. Le truc est simple, pas m\u00eame besoin de connexion internet pour tester si ces code d\u2019envoi d\u2019email fonctionnent comme ils le veulent. Les outils n\u00e9cessaires ?, il nous faut seulement Test Mail server Tool. Ne vous inqui\u00e9tez pas, ce logiciel est totalement gratuit et l\u00e9ger, vous pouvez le [&hellip;]<\/p>","protected":false},"author":1,"featured_media":2860,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[25],"tags":[461,317,1577,1578,320,524,1579,1576,416],"class_list":["post-2854","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-astuces-infos","tag-astuce","tag-email","tag-envoye","tag-localement","tag-mail","tag-message","tag-messenger","tag-script","tag-server"],"aioseo_notices":[],"modified_by":"Auteur","_links":{"self":[{"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/posts\/2854","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/comments?post=2854"}],"version-history":[{"count":0,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/posts\/2854\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/media\/2860"}],"wp:attachment":[{"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/media?parent=2854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/categories?post=2854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/tags?post=2854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}