attach a remote file to an email in oracle apex
<p>I know it is possible to send mail through oracle apex using apex mail with an attachment with the following code -</p>

<pre><code>DECLARE
    l_id NUMBER;
BEGIN
    l_id := APEX_MAIL.SEND(
        p_to        =&gt; 'fred@flintstone.com',
        p_from      =&gt; 'barney@rubble.com',
        p_subj      =&gt; 'APEX_MAIL with attachment',
        p_body      =&gt; 'Please review the attachment.',
        p_body_html =&gt; '&lt;b&gt;Please&lt;/b&gt; review the attachment');
    FOR c1 IN (SELECT filename, blob_content, mime_type 
        FROM APEX_APPLICATION_FILES
        WHERE ID IN (123,456)) LOOP

        APEX_MAIL.ADD_ATTACHMENT(
            p_mail_id    =&gt; l_id,
            p_attachment =&gt; c1.blob_content,
            p_filename   =&gt; c1.filename,
            p_mime_type  =&gt; c1.mime_type);
        END LOOP;
    COMMIT;
END;

 /
</code></pre>

<p>but ,I want to attach a file on the disk(OS) to a mail sent through oracle apex instead of blob content </p>

<pre><code>        p_attachment =&gt; c1.blob_content,
</code></pre>

<p>i.e., i want to attach a file for example <code>D:\sample.pdf</code> as attachment in the mail. </p>

<p>I want to know if it is possible and if possible then how?</p>