today:
46
yesterday:
480
Total:
1,582,160

Technology

PL/SQL Email

admin 2018.10.20 22:05 Views : 313

DECLARE

  l_html VARCHAR2(32767);

BEGIN

  l_html := '<html>

    <head>

      <title>Test HTML message</title>

    </head>

    <body>

      <p>This is a <b>HTML</b> <i>version</i> of the test message.</p>

     

    </body>

  </html>';

 

  send_mail(p_to        => 'solatoz@gmail.com',

            p_from      => 'chadmoondb@gmail.com',

            p_subject   => 'Test Message',

            p_text_msg  => 'This is a test message.',

            p_html_msg  => l_html,

            p_smtp_host => 'smtp.sendgrid.net');

END;