<?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>Question Re: Send mails using On-premise mail server SAP CLOUD SDK JAVA in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780738#M4798416</link>
    <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;alex_aguilera&lt;/SPAN&gt; You could perhaps use the standard Java Mail Client javax.mail?&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 22:07:18 GMT</pubDate>
    <dc:creator>Ulrich_Schmidt1</dc:creator>
    <dc:date>2023-08-25T22:07:18Z</dc:date>
    <item>
      <title>Send mails using On-premise mail server SAP CLOUD SDK JAVA</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaq-p/12780733</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;
  &lt;P&gt;I'm trying to use a on-premise mail server using SAP CLOUD SDK JAVA. I didn't find any example of how to do it. I know that in case of javascript there's "email-client" (https://sap.github.io/cloud-sdk/docs/js/features/mail-client#on-premise-destination), but for &lt;STRONG&gt;java&lt;/STRONG&gt;? &lt;/P&gt;
  &lt;P&gt;I found this guide: &lt;A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/using-tcp-protocol-for-cloud-applications?locale=en-US" target="test_blank"&gt;https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/using-tcp-protocol-for-cloud-applications?locale=en-US&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;But it's not a full example, and it's not very clear. Right now, I have a working code that uses Java Mail to send mails using a mail destination (getting destination properties and creating the mail session), but i don't have very clear how to do it with an on-premise destination and use the configured cloud connector. &lt;/P&gt;
  &lt;P&gt;Could someone share some code example? &lt;/P&gt;
  &lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 12:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaq-p/12780733</guid>
      <dc:creator>alex_aguilera</dc:creator>
      <dc:date>2023-08-24T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails using On-premise mail server SAP CLOUD SDK JAVA</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780734#M4798412</link>
      <description>&lt;P&gt;Hi Alex,&lt;BR /&gt;&lt;BR /&gt;You may check the following articles:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://blogs.sap.com/2021/05/07/connect-to-an-on-premise-mail-server-from-sap-btp-cloud-foundry/" target="test_blank"&gt;https://blogs.sap.com/2021/05/07/connect-to-an-on-premise-mail-server-from-sap-btp-cloud-foundry/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://answers.sap.com/questions/13849079/cloud-sdk-mail-client-send-using-on-premise-smtp-m.html" target="test_blank"&gt;https://answers.sap.com/questions/13849079/cloud-sdk-mail-client-send-using-on-premise-smtp-m.html&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Manol&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 15:36:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780734#M4798412</guid>
      <dc:creator>ManolV</dc:creator>
      <dc:date>2023-08-24T15:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails using On-premise mail server SAP CLOUD SDK JAVA</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780735#M4798413</link>
      <description>&lt;P&gt;Unfortunately, SAP Cloud SDK for Java does not currently support a Mail client.&lt;BR /&gt;You could write to our PO &lt;SPAN class="mention-scrubbed"&gt;dsfas&lt;/SPAN&gt; for adding this as a feature request, citing your requirements, but as we are currently working on a new major version of the SDK, I am not really sure if this would be taken up soon.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 12:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780735#M4798413</guid>
      <dc:creator>ksivakumar</dc:creator>
      <dc:date>2023-08-25T12:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails using On-premise mail server SAP CLOUD SDK JAVA</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780736#M4798414</link>
      <description>&lt;P&gt;Ok, I will do it.&lt;/P&gt;&lt;P&gt;As a workaround, do you have some complete example of how to do the same without the mail client? In github for example, i didn't find anything in &lt;A href="https://github.com/SAP-samples/cloud-cap-samples-java" target="test_blank"&gt;https://github.com/SAP-samples/cloud-cap-samples-java&lt;/A&gt; for example. &lt;/P&gt;&lt;P&gt;Has someone done this first?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 12:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780736#M4798414</guid>
      <dc:creator>alex_aguilera</dc:creator>
      <dc:date>2023-08-25T12:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails using On-premise mail server SAP CLOUD SDK JAVA</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780737#M4798415</link>
      <description>&lt;P&gt;The second link is using the javascript mail client. &lt;/P&gt;&lt;P&gt;The first one...i will give it a try, but there's no code available in github.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 12:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780737#M4798415</guid>
      <dc:creator>alex_aguilera</dc:creator>
      <dc:date>2023-08-25T12:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails using On-premise mail server SAP CLOUD SDK JAVA</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780738#M4798416</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;alex_aguilera&lt;/SPAN&gt; You could perhaps use the standard Java Mail Client javax.mail?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 22:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/12780738#M4798416</guid>
      <dc:creator>Ulrich_Schmidt1</dc:creator>
      <dc:date>2023-08-25T22:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Send mails using On-premise mail server SAP CLOUD SDK JAVA</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/13586632#M4814992</link>
      <description>&lt;P&gt;We discussed in the team. Unfortunately, the mail client is not planned for the Java SDK at least in 2024. Please check the BTP documentation:&amp;nbsp;&lt;A href="https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/using-tcp-protocol-for-cloud-applications?locale=en-US," target="_blank"&gt;https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/using-tcp-protocol-for-cloud-applications?locale=en-US,&lt;/A&gt;&amp;nbsp;which was used as the guide for building the JS SDK implementation.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 10:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mails-using-on-premise-mail-server-sap-cloud-sdk-java/qaa-p/13586632#M4814992</guid>
      <dc:creator>Junjie</dc:creator>
      <dc:date>2024-01-30T10:06:28Z</dc:date>
    </item>
  </channel>
</rss>

