<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sas.mail configuration in manage environment  , how do I can set STARTTLS property in configurat in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931575#M28602</link>
    <description>I don't think you'd need to use the customProperty "auth". I think it will try to use the supplied user ID and password if you give it one.&lt;BR /&gt;If mail.smtp.starttls.enable isn't working in custom properties, try adding it in the deprecated "properties" field. (e.g. mail.smtp.starttls.enable=true).</description>
    <pubDate>Mon, 10 Jun 2024 16:00:39 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2024-06-10T16:00:39Z</dc:date>
    <item>
      <title>sas.mail configuration in manage environment  , how do I can set STARTTLS property in configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931211#M28588</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to configure mail service in sas viya 4 , to be able to send mails from platform, without the code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="georgedascalu_0-1717745378007.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97085i5BAE3CFBABBD8FE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="georgedascalu_0-1717745378007.png" alt="georgedascalu_0-1717745378007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I want to send an email by code from a sas program the mail is sent, I used this part of code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;options&amp;nbsp;emailhost=&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;"smtp.host.com"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;STARTTLS&amp;nbsp;auth=LOGIN&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;id=" mail@xxxx.xxx"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;pw="xxxxx"&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;port=587&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;filename&amp;nbsp;mymail&amp;nbsp;email&amp;nbsp;"mail@xxxx.xxx"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subject="My&amp;nbsp;SAS&amp;nbsp;Configuration&amp;nbsp;File";&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;data&amp;nbsp;_null_;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;file&amp;nbsp;mymail;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;put&amp;nbsp;'Jim,';&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;put&amp;nbsp;'This&amp;nbsp;is&amp;nbsp;my&amp;nbsp;SAS&amp;nbsp;configuration&amp;nbsp;file.';&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;put&amp;nbsp;'I&amp;nbsp;think&amp;nbsp;you&amp;nbsp;might&amp;nbsp;like&amp;nbsp;the';&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;put&amp;nbsp;'new&amp;nbsp;options&amp;nbsp;I&amp;nbsp;added.';&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I tried to add the same options in sas.mail, but I think the problem is that I don't know where to add the STARTTLS or auth=LOGIN .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="georgedascalu_1-1717745593021.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97086iDA5E2FF12641B832/image-size/medium?v=v2&amp;amp;px=400" role="button" title="georgedascalu_1-1717745593021.png" alt="georgedascalu_1-1717745593021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Can you help me with this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;George &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 07:34:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931211#M28588</guid>
      <dc:creator>georgedascalu</dc:creator>
      <dc:date>2024-06-07T07:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: sas.mail configuration in manage environment  , how do I can set STARTTLS property in configurat</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931560#M28596</link>
      <description>If you provide a user name and password in your sas.mail configuration, mail should try to use it (auth login).&lt;BR /&gt;&lt;BR /&gt;To set starttls you can add to the sas.mail configuration the custom property mail.smtp.starttls.enable with a value of true.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2024 14:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931560#M28596</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-06-10T14:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: sas.mail configuration in manage environment  , how do I can set STARTTLS property in configurat</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931567#M28599</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp; thank you for your answer&lt;/P&gt;&lt;P&gt;I added the properties , but i still can not send any email.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="georgedascalu_0-1718032132856.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97184i6BDC4B75160CABF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="georgedascalu_0-1718032132856.png" alt="georgedascalu_0-1718032132856.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried even to add at host directly something like this (&lt;SPAN class=""&gt;"smtp.host.com" &lt;/SPAN&gt;&lt;SPAN class=""&gt;STARTTLS&amp;nbsp;auth=LOGIN) , with commas without commas, with &lt;SPAN&gt;parenthesis&lt;/SPAN&gt;, without &lt;SPAN&gt;parenthesis&lt;/SPAN&gt;, and i get the same result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="georgedascalu_1-1718032319396.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97185i98C03D0C89CAE684/image-size/medium?v=v2&amp;amp;px=400" role="button" title="georgedascalu_1-1718032319396.png" alt="georgedascalu_1-1718032319396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 15:14:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931567#M28599</guid>
      <dc:creator>georgedascalu</dc:creator>
      <dc:date>2024-06-10T15:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: sas.mail configuration in manage environment  , how do I can set STARTTLS property in configurat</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931575#M28602</link>
      <description>I don't think you'd need to use the customProperty "auth". I think it will try to use the supplied user ID and password if you give it one.&lt;BR /&gt;If mail.smtp.starttls.enable isn't working in custom properties, try adding it in the deprecated "properties" field. (e.g. mail.smtp.starttls.enable=true).</description>
      <pubDate>Mon, 10 Jun 2024 16:00:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931575#M28602</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-06-10T16:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: sas.mail configuration in manage environment  , how do I can set STARTTLS property in configurat</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931605#M28603</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Unfortunately, I reached the same result , the mail was not sent.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Maybe I am missing something, I saw that in the documentation is saying that the email service is restarted, i was looking in Lens to check&amp;nbsp; if I have any mail service that I could restart ( something like mail-viya) , and I couldn't find a mail service. But here I get a little bit confused why I could send mail from code and not from the application. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 19:18:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931605#M28603</guid>
      <dc:creator>georgedascalu</dc:creator>
      <dc:date>2024-06-10T19:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: sas.mail configuration in manage environment  , how do I can set STARTTLS property in configurat</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931703#M28606</link>
      <description>If you don't have a sas-mail pod you are likely running a newer release where this functionality was moved to the sas-collaboration pod.&lt;BR /&gt;&lt;BR /&gt;The email filename access method contacts the mail server directly rather than using the mail REST API endpoint, so settings in sas.mail would not apply.&lt;BR /&gt;&lt;BR /&gt;While both should work, you can also try removing the mail.stmp.starttls.enable customProperty and adding one called "TLSPolicy" with a value of "Mandatory".&lt;BR /&gt;&lt;BR /&gt;Either property being set should trigger the use of starttls.</description>
      <pubDate>Tue, 11 Jun 2024 13:54:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931703#M28606</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-06-11T13:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: sas.mail configuration in manage environment  , how do I can set STARTTLS property in configurat</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931863#M28609</link>
      <description>&lt;P&gt;I found the pod that is responsible for the mail service and I saw that I get an error when I save the mail service.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="georgedascalu_0-1718172983129.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97243i7AC26A533CB826DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="georgedascalu_0-1718172983129.png" alt="georgedascalu_0-1718172983129.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the same error even after I set the TLSPolicy.&lt;/P&gt;&lt;P&gt;I am starting to think that the problem is not the TLS.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 06:17:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931863#M28609</guid>
      <dc:creator>georgedascalu</dc:creator>
      <dc:date>2024-06-12T06:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: sas.mail configuration in manage environment  , how do I can set STARTTLS property in configurat</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931897#M28610</link>
      <description>You may want to engage SAS Technical Support for this so we can review the log file.&lt;BR /&gt;&lt;BR /&gt;They might need to take a look at debug level logging of the service during a failure event. You can turn on global debug logging with:&lt;BR /&gt;&lt;BR /&gt;kubectl -n namespace set env deploy/sas-collaboration SAS_LOG_LEVEL=DEBUG&lt;BR /&gt;&lt;BR /&gt;This will trigger the pod to restart with this logging enabled. After reproducing the failure and capturing the log to a file with:&lt;BR /&gt;&lt;BR /&gt;kubectl -n namespace log -l app=sas-collaboration --tail=-1 &amp;gt; sas-collaboration.log&lt;BR /&gt;&lt;BR /&gt;you can run this to remove the debug logging:&lt;BR /&gt;&lt;BR /&gt;kubectl -n namespace set env deploy/sas-collaboration SAS_LOG_LEVEL-&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jun 2024 12:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/sas-mail-configuration-in-manage-environment-how-do-I-can-set/m-p/931897#M28610</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-06-12T12:47:30Z</dc:date>
    </item>
  </channel>
</rss>

