{"id":1915,"date":"2021-05-27T12:58:26","date_gmt":"2021-05-27T10:58:26","guid":{"rendered":"http:\/\/clark.tipistrani.it\/?p=1915"},"modified":"2021-08-26T10:30:47","modified_gmt":"2021-08-26T08:30:47","slug":"zendto-preferences-php","status":"publish","type":"post","link":"http:\/\/clark.tipistrani.it\/?p=1915","title":{"rendered":"ZendTo preferences.php"},"content":{"rendered":"<p>Il file \u00e8 lunghissimo e di seguito riporto solo i valori che ho cambiato<\/p>\n<p>&#8216;serverRoot&#8217; =&gt; &#8216;https:\/\/grecale.myfirm.com\/&#8217;,<br \/>\n&#8216;recaptchaPublicKey&#8217; =&gt; &#8216;1111111111111111111111111111111111111111111&#8217;,<br \/>\n&#8216;recaptchaPrivateKey&#8217; =&gt; &#8216;11111111111111111111111111111111111111111111&#8217;,<br \/>\n&#8216;defaultEmailDomain&#8217; =&gt; &#8216;Myfirm.com&#8217;,<br \/>\n&#8216;SMTPserver&#8217; =&gt; &#8216;webmail.myfirm.com&#8217;, \/\/ If blank, will use PHP mail(). See above.<br \/>\n\/\/ SMTP port number. Usually 25, 465 or 587.<br \/>\n&#8216;SMTPport&#8217; =&gt; 587,<br \/>\n\/\/ What encryption to use: must be &#8221; (for no encryption) or &#8216;tls&#8217;<br \/>\n\/\/ (or &#8216;ssl&#8217; which is deprecated)<br \/>\n&#8216;SMTPsecure&#8217; =&gt; &#8216;tls&#8217;,<br \/>\n\/\/ Do you need to authenticate to your SMTP server?<br \/>\n\/\/ If not, leave SMTPusername set to &#8221;.<br \/>\n\/\/ If you do, set the username and password.<br \/>\n&#8216;SMTPusername&#8217; =&gt; &#8216;someone@myfirm.com&#8217;,<br \/>\n&#8216;SMTPpassword&#8217; =&gt; &#8216;UnabellapassworD_lunga&amp;complicata1998+23&#8217;,<\/p>\n<p>ADDENDUM:<br \/>\ndopo qualche tempo i colleghi mi hanno fatto notare che ai loro clienti\/corrispondenti la mail di avviso prelievo files arrivava da someone@myfirm.com e non dal loro indirizzo, in questo periodo folle in cui girano le peggio porcherie mai pensate al mondo a livello di cryptolocker e compagnia cantante la gente si spaventa anche quando non serve, quindi ho dovuto trovare una soluzione che \u00e8 stata abbastanza semplicemente cambiare questo valore:<\/p>\n<p><tt>'SMTPsetFromToSender' =&gt; FALSE,<\/tt> a TRUE<\/p>\n<p>a seguire ho notato che sempre nella mail di avviso prelievo appariva come organizzazione myfirm ma per esempio un toto di colleghi usano come mail address name@otherfirm.com brand del nostro gruppo, di per se \u00e8 ininfluente per\u00f2 \u00e8 brutto da vedere quindi leggendo attentamente il file che \u00e8 commentato benissimo ho trovato questo altro parametro:<br \/>\n&#8216;skipSenderInfo&#8217; =&gt; TRUE, che ho passato a FALSE in questo modo durante la generazione della spedizione dei files viene chiesta l&#8217;organizzazione e la cosa diventa molto pi\u00f9 flessibile.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Il file \u00e8 lunghissimo e di seguito riporto solo i valori che ho cambiato &#8216;serverRoot&#8217; =&gt; &#8216;https:\/\/grecale.myfirm.com\/&#8217;, &#8216;recaptchaPublicKey&#8217; =&gt; &#8216;1111111111111111111111111111111111111111111&#8217;, &#8216;recaptchaPrivateKey&#8217; =&gt; &#8216;11111111111111111111111111111111111111111111&#8217;, &#8216;defaultEmailDomain&#8217; =&gt; &#8216;Myfirm.com&#8217;, &#8216;SMTPserver&#8217; =&gt; &#8216;webmail.myfirm.com&#8217;, \/\/ If blank, will use PHP mail(). See above. \/\/ SMTP port number. Usually 25, 465 or 587. &#8216;SMTPport&#8217; =&gt; 587, \/\/ What encryption to use: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,14,204,6],"tags":[206,203,205,101],"class_list":["post-1915","post","type-post","status-publish","format-standard","hentry","category-linux","category-networking","category-web-application","category-work","tag-configurazione","tag-php","tag-web-application","tag-zendto"],"_links":{"self":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1915"}],"version-history":[{"count":3,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/1915\/revisions"}],"predecessor-version":[{"id":1959,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/1915\/revisions\/1959"}],"wp:attachment":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1915"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}