<?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 mail delayed in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14137404#M4918159</link>
    <description>I will try this option, which I wasn't aware of.</description>
    <pubDate>Thu, 26 Jun 2025 07:54:27 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2025-06-26T07:54:27Z</dc:date>
    <item>
      <title>send mail delayed</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaq-p/14136895</link>
      <description>&lt;P&gt;Hey Community!&lt;/P&gt;&lt;P&gt;Is there a way to send a mail to a specified time using CL_BCS?&lt;/P&gt;&lt;P&gt;I did not find any hint where to set a time when the mail should be sent.&lt;/P&gt;&lt;P&gt;Yes, I know, I can program a job that starts to that time and sends the mail, but I wonder if there is a built-in way for this.&lt;/P&gt;&lt;P&gt;Thanks for any hints&lt;/P&gt;&lt;P&gt;~Enno&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 15:46:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaq-p/14136895</guid>
      <dc:creator>EnnoWulff</dc:creator>
      <dc:date>2025-06-25T15:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: send mail delayed</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136903#M4918098</link>
      <description>&lt;P&gt;As far as I'm aware, this isn't something you can do with CL_BCS. You can easily submit a background delayed job, working with SOST/SCOT tables is risky and more difficult.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 15:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136903#M4918098</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2025-06-25T15:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: send mail delayed</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136904#M4918099</link>
      <description>Thanks for the confirmation, &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/185148"&gt;@RaymondGiuseppi&lt;/a&gt; !</description>
      <pubDate>Wed, 25 Jun 2025 16:03:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136904#M4918099</guid>
      <dc:creator>EnnoWulff</dc:creator>
      <dc:date>2025-06-25T16:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: send mail delayed</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136917#M4918101</link>
      <description>&lt;P&gt;You could try the following but you'd also have to put in work to generate the timestamp for a future date/time and the domain definition suggests UTC. &amp;nbsp;Please note that I believe the normal way would be to call the SEND_SCREEN method which appears to allow a user to input such information.&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;  DATA: email    TYPE REF TO cl_bcs,
        exc      TYPE REF TO cx_bcs.

* Generate one in the future for true delay
  GET TIME STAMP FIELD DATA(timestamp).

  TRY.
*   Generate send request
    email = cl_bcs=&amp;gt;create_persistent( ).
    email-&amp;gt;send_request-&amp;gt;set_send_at( timestamp ).

*   Create and set document
    ...

*   Create sender and recipient addresses
    ...

*   Send document
    DATA(sent) = email-&amp;gt;send( ).
    IF sent IS NOT INITIAL.
      COMMIT WORK.
    ELSE.
      ROLLBACK WORK.
    ENDIF.

    CATCH cx_bcs INTO exc.
*     No email sent - do nothing here
  ENDTRY.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Ryan Crosby&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 16:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136917#M4918101</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2025-06-25T16:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: send mail delayed</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136923#M4918102</link>
      <description>Cool! Thanks &lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/13126"&gt;@Ryan-Crosby&lt;/a&gt;! That looks promising! I will try this</description>
      <pubDate>Wed, 25 Jun 2025 16:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136923#M4918102</guid>
      <dc:creator>EnnoWulff</dc:creator>
      <dc:date>2025-06-25T16:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: send mail delayed</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136929#M4918103</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/7046"&gt;@EnnoWulff&lt;/a&gt; let me know if it works...</description>
      <pubDate>Wed, 25 Jun 2025 16:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136929#M4918103</guid>
      <dc:creator>Ryan-Crosby</dc:creator>
      <dc:date>2025-06-25T16:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: send mail delayed</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136936#M4918105</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/13126"&gt;@Ryan-Crosby&lt;/a&gt; it works! Thanks a lot!</description>
      <pubDate>Wed, 25 Jun 2025 16:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14136936#M4918105</guid>
      <dc:creator>EnnoWulff</dc:creator>
      <dc:date>2025-06-25T16:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: send mail delayed</title>
      <link>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14137404#M4918159</link>
      <description>I will try this option, which I wasn't aware of.</description>
      <pubDate>Thu, 26 Jun 2025 07:54:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/send-mail-delayed/qaa-p/14137404#M4918159</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2025-06-26T07:54:27Z</dc:date>
    </item>
  </channel>
</rss>

