{"id":212,"date":"2023-02-22T16:41:21","date_gmt":"2023-02-22T15:41:21","guid":{"rendered":"http:\/\/www.sepchat.com\/SC\/?p=212"},"modified":"2023-02-23T15:11:52","modified_gmt":"2023-02-23T14:11:52","slug":"ibm-i-envoi-dun-fichier-par-mail","status":"publish","type":"post","link":"http:\/\/www.sepchat.com\/SC\/index.php\/2023\/02\/22\/ibm-i-envoi-dun-fichier-par-mail\/","title":{"rendered":"IBM i &#8211; Envoi d\u2019un fichier par mail"},"content":{"rendered":"\n<p>&nbsp;L&rsquo;envoi se fait en 2 temps.<\/p>\n\n\n\n<p>1) Copie du fichier dans un FOLDER.<\/p>\n\n\n\n<p>2) Envoi d&rsquo;un mail avec le fichier contenu dans le folder.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">CPYTOPCD&nbsp;&nbsp; FROMFILE(fichier) TOFLR(FLD01) TODOC(fichier.txt) REPLACE(*YES) <\/pre>\n\n\n\n<p>\u00a0SNDDST Type(*DOC) TOINTNET((\u00a0\\n\u00a0<a href=\"mailto:god@sky.org\">god@sky.org<\/a>\u00a0))\u00a0DSTD(&lsquo;Envoi d&rsquo;un mail&rsquo;) MSG(&lsquo;voici le fichier demand\u00e9&rsquo;) IMPORTANCE(*HIGH)\u00a0\u00a0DOC(fichier.txt) FLR(FLD01)<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized size-full has-custom-border\"><a href=\"as-400-iseries-system-i-ibm-ii\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.sepchat.com\/SC\/wp-content\/uploads\/2023\/02\/fleche-r-edited.png\" alt=\"\" width=\"57\" height=\"57\"\/><\/a><\/figure>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex\">\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link wp-element-button\" style=\"border-radius:100px\">Cet article vous a \u00e9t\u00e9 utile ? N\u2019h\u00e9sitez pas \u00e0 le partager.<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;L&rsquo;envoi se fait en 2 temps. 1) Copie du fichier dans un FOLDER. 2) Envoi d&rsquo;un mail avec le fichier contenu dans le folder. CPYTOPCD&nbsp;&nbsp; FROMFILE(fichier) TOFLR(FLD01) TODOC(fichier.txt) REPLACE(*YES) \u00a0SNDDST Type(*DOC) TOINTNET((\u00a0\\n\u00a0god@sky.org\u00a0))\u00a0DSTD(&lsquo;Envoi d&rsquo;un mail&rsquo;) MSG(&lsquo;voici le fichier demand\u00e9&rsquo;) IMPORTANCE(*HIGH)\u00a0\u00a0DOC(fichier.txt) FLR(FLD01)<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/posts\/212"}],"collection":[{"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/comments?post=212"}],"version-history":[{"count":2,"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/posts\/212\/revisions"}],"predecessor-version":[{"id":356,"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/posts\/212\/revisions\/356"}],"wp:attachment":[{"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/media?parent=212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/categories?post=212"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sepchat.com\/SC\/index.php\/wp-json\/wp\/v2\/tags?post=212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}