GeekInterview.com
Series: Subject: Topic:
Question: 32 of 279

Schedule email in oracle

How to schedule an email in oracle reports?
Asked by: gt.sanwaliyaji | Member Since Sep-2010 | Asked on: Oct 20th, 2010

View all questions by gt.sanwaliyaji

Showing Answers 1 - 2 of 2 Answers
zahar

Answered On : Jun 7th, 2011

View all answers by zahar

using utl_mail

  
Login to rate this answer.
KARI

Answered On : Oct 29th, 2011

UTL_MAIL: type procedure in UTL_MAIL 1)SEND (send the message without attachment)

Code
  1. UTL_MAIL.SEND(sender =>'karimuth@amazon.com',recipients=>'karimuthu.bala@gmail.com',message =>'HAPPY BIRTHDAY',subject => 'birthday wishes');
  2. 2)SEND_ATTACH_RAW(FOR message WITH binary attachment)

Code
  1. UTL_MAIL.SEND_ATTACH_RAW(sender =>'karimuth@amazon.com',recipients=>'karimuthu.bala@gmail.com',message =>'HAPPY BIRTHDAY',subject => 'birthday wishes'
  2. mime_type => 'text/html',attachment => get_image('oracle.gif'),att_inline =>true,att_min_type =>'image/gif',att_filename =>'oracle.gif');

3)SEND_ATTACH_VARCHAR2(for messages with text attachment)

Code
  1. UTL_MAIL.SEND_ATTACH_VARCHAR2(sender =>'karimuth@amazon.com',recipients=>'karimuthu.bala@gmail.com',message =>'HAPPY BIRTHDAY',subject => 'birthday wishes'
  2. mime_type => 'text/html',attachment => get_file('test.txt'),att_inline =>flase,att_min_type =>'text/plain',att_filename =>'test.txt');

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.