Utl_mail

Hi all,
I installed utl_mail and tried sending a test email to myself and got this error from this anonymous pl/sql block I wrote:
NOTE: I replaced my actual email address with [email protected]
begin
utl_mail.send('[email protected]', '[email protected]', NULL, NULL, 'Change Notification', 'test mail', 'text/plain; charset=us-ascii', NULL);
end;
ORA-29279: SMTP permanent error: 550 5.7.1 Unable to relay for [email protected]
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 99
ORA-06512: at "SYS.UTL_SMTP", line 241
ORA-06512: at "SYS.UTL_MAIL", line 424
ORA-06512: at "SYS.UTL_MAIL", line 594
ORA-06512: at line 2
If anyone could provide any help I would really appreciate it. It was easy to install and I verified the ip address and port from my outlook account when I set it up.
Thanks in advance for your replies!
Gib

Check email addresses, and verify connectivity issues with your smtp server.
Next, I suggest you to read these threads, you will find practical utl_mail examples:
Re: UTL_MAIL.SEND. Attach table data
Re: Email About backup from Oracle.
UTL_MAIL:  Send_Attach_Raw / Attachement-Size?
~ Madrid

Similar Messages

  • Sending email using utl_mail

    Hi all,
    I am able to successfully send email from database (11.2.0.1) using utl_mail package.
    exec utl_mail.send(sender=>'[email protected]', recipients=> '[email protected]', message=>'YOU HAVE ONE MONTH TO RENEW CONTRACT', subject=>'YOU HAVE ONE MONTH TO RENEW CONTRACT') ;but the requirement is such that i have to send email trigger to only the employees who's contract is ending in a week, how can i dynamically put the email of teh employee in the recipients tag in utl_mail.send.
    ex:- something like below, i know teh code isn't right but kindly guide me
    exec utl_mail.send(sender=>'[email protected]', recipients=> 'select email from emp where contract_exp between sysdate and sysdate+7 '  , message=>'YOU HAVE ONE MONTH TO RENEW CONTRACT', subject=>'YOU HAVE ONE MONTH TO RENEW CONTRACT') ;thank you

    user10243788 wrote:
    Hi all,
    I am able to successfully send email from database (11.2.0.1) using utl_mail package.
    exec utl_mail.send(sender=>'[email protected]', recipients=> '[email protected]', message=>'YOU HAVE ONE MONTH TO RENEW CONTRACT', subject=>'YOU HAVE ONE MONTH TO RENEW CONTRACT') ;but the requirement is such that i have to send email trigger to only the employees who's contract is ending in a week, how can i dynamically put the email of teh employee in the recipients tag in utl_mail.send.
    ex:- something like below, i know teh code isn't right but kindly guide me
    exec utl_mail.send(sender=>'[email protected]', recipients=> 'select email from emp where contract_exp between sysdate and sysdate+7 '  , message=>'YOU HAVE ONE MONTH TO RENEW CONTRACT', subject=>'YOU HAVE ONE MONTH TO RENEW CONTRACT') ;thank youput SELECT from above within LOOP

  • Send mail to distribution list using UTL_MAIL.SEND

    Oracle 10.2.0.4.0
    Does UTL_MAIL.SEND support sending mail to a distribution list?. The doc says, the recipient mail-id should be separated by a comma. The distribution list has mail-id separated by a comma. I executed a test case sending a mail to a distribution list, I did not receive any error or exception. I did not receive the test mail as well!!.
    Has anyone used the UTL_MAIL.SEND to send mails to a distribution list?.
    Thanks

    Has anyone used the UTL_MAIL.SEND to send mails to a distribution list?.Oracle RDBMS does not know or care is email address is single recipient or list.
    It sends message to name provided.
    It is up to MTA to deliver any message it gets.
    Are you 100% certain that message got to MTA & was successfully processed by it?

  • How to attach a file in the utl_mail utility in oracle 10.2.0

    hi,
    where is the default file destination to attach a file in the utl_mail utility in oracle 10g. i have to send an attachment..
    regards,
    Deepak
    Edited by: Deepak_DBA on Nov 4, 2009 3:10 PM

    HI,
    I have succesfully created utl_mail and send mail.. but could not able to attach a file in that mail..
    i have used the procedure given below..
    DECLARE
    rfile VARCHAR2(255);
    BEGIN
    UTL_MAIL.send_attach_varchar2(sender =>'[email protected]',recipients =>'[email protected]',subject =>'Test new Mail',message => 'Oracle World',mime_type => 'text; charset=us-ascii',priority => 3,attachment => rfile,att_inline => TRUE,att_mime_type=> 'text/plain; charset=us-ascii',att_filename => 'i:\session.txt');
    END;
    regards,
    Deepak

  • Error while executing the utl_mail package

    Hi All,
    I am executing the below package, to test whether the utl_mail package is working or not....basically I want to write a plsql program to send email to the specific users whenever there is ddl event on the database.
    SQL> exec sys.utl_mail.send (sender =>'[email protected]',recipients =>'[email protected]',subject => 'Oracle Database Server DOWN',message => 'May be DB Server Down for maintenance.||. but also contact to DBA for further details. .');
    BEGIN sys.utl_mail.send (sender =>'[email protected]',recipients =>'[email protected]',subject => 'Oracle Database Server DOWN',message => 'May be DB Server Down for maintenance.||. but also contact to DBA for further details. .'); END;
    ERROR at line 1:
    ORA-29279: SMTP permanent error: 554 <[email protected]>: Relay access denied
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 240
    ORA-06512: at "SYS.UTL_MAIL", line 414
    ORA-06512: at "SYS.UTL_MAIL", line 608
    ORA-06512: at line 1
    1. we are running the postfix on the database server.
    2. when i am sending the mail through the unix command "mail" it successfully sending the mail.
    3. I checked in most of the forums it says relay host settings needs to be changed...
    4. I am not sure what are the postfix configuration setting i have to set.
    Please help
    Ravi
    Edited by: user13369249 on Jul 9, 2010 1:22 PM
    Edited by: user13369249 on Jul 9, 2010 1:24 PM

    I assume you are using Oracle 11
    Step One Check for existing ACL
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> SELECT host, acl FROM dba_network_acls;
    Step Two Drop existing of it exists
    SQL>
    SQL> EXECUTE DBMS_NETWORK_ACL_ADMIN.drop_acl ( acl => 'test_acl_file.xml');
    PL/SQL procedure successfully completed.
    SQL> SELECT host, acl FROM dba_network_acls;
    no rows selected
    SQL>
    Note : If there are multiple ones, they seem to conflict with each other.
    Create an Access Control List (ACL)
    As SYS
    SQL> BEGIN
    2 DBMS_NETWORK_ACL_ADMIN.create_acl (
    3 acl => 'test_acl_file.xml',
    4 description => 'A test of the ACL functionality',
    5 principal => '<YOURUSER>',
    6 is_grant => TRUE,
    7 privilege => 'connect',
    8 start_date => SYSTIMESTAMP,
    9 end_date => NULL);
    10
    11 COMMIT;
    12 END;
    13 /
    PL/SQL procedure successfully completed.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> BEGIN
    2 DBMS_NETWORK_ACL_ADMIN.assign_acl (
    3 acl => 'test_acl_file.xml',
    4 host => 'relay.?????',
    5 lower_port => 25,
    6 upper_port => null);
    7
    8 COMMIT;
    9 END;
    10 /
    PL/SQL procedure successfully completed.
    SQL> commit;
    Commit complete.
    SQL>
    Make sure you change to you relay and your user.
    Edited by: mseberg on Jul 9, 2010 2:32 PM

  • Reg.SMTP Error while using UTL_MAIL in Oracle 10g

    Hi,
    I am getting the following SMTP error while trying to use the UTL.MAIL package of Oracle 10g. The query is as follows.
    begin
    utl_mail.send(
    sender => 'NAVEEN',
    recipients => '[email protected]',
    subject => 'Testing utl_mail',
    message => 'The receipt of this email means'|| ' that UTL_MAIL works'
    end;
    UTL_MAIL package is installesd and the port 25 is configured and firewall is changed.
    The same block was working fine before 5 days and now is giving the error as
    ORA-29279: SMTP permanent error: 501 badly formatted MAIL FROM user - no "<"
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 222
    ORA-06512: at "SYS.UTL_MAIL", line 407
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 2
    Could you please help me out how to proceed???
    Regards,
    Naveen Kumar.

    Can you back that statement about an Oracle UTL_SMTP bug up with an actual bug number??
    From what you have posted, this is not a bug!! but expected and documented (RFC'ed) SMTP server behaviour.
    My proof:
    /home/billy> telnet mail 25
    Trying 165.143.128.26...
    Connected to mail
    Escape character is '^]'.
    220 CNTRRA20-GTW01 [CNTRRA20-GTW01] Thu, 06 Mar 2008 14:26:26 +0200
    HELO 10.251.93.58
    250 CNTRRA20-GTW01 Hello [10.251.93.58]
    MAIL FROM: naveen <[email protected]>
    501 naveen <[email protected]> : illegal character(s) in domain string
    MAIL FROM: NAVEEN
    501 NAVEEN : domain string is NULL.
    quit
    221 CNTRRA20-GTW01 closing connection. Goodbye!
    Connection closed by foreign host.
    /home/billy>
    As you can clearly see, the SMTP server expects a DOMAIN name as part of the MAIL FROM address. It also does not accept the alternative format suggested.
    Yes, not all SMTP servers are equal and some support additional formatting.
    But to imply that because the SMTP server does not accept your address formatted as string NAVEEN, it is a UTL_SMTP problem, sounds like a smelly one to me.

  • SMTP server problem for UTL_MAIL ..

    Hi ,
    I asked the Mail server admin and he said that the relaying is set to allow on the settings , the procedure still cant send to outside domains :
    SQL> alter system set SMTP_OUT_SERVER ='oursmtp';
    SQL>CREATE OR REPLACE PROCEDURE send_email
    AS
       BEGIN 
         UTL_MAIL.SEND(sender => '[email protected]',
                       recipients => '[email protected]',
                       cc => null,
                       bcc => null,
                       subject => 'Msg From Oracle DB',
                       message => 'test msg');
       EXCEPTION
       WHEN OTHERS THEN
         raise_application_error(-20001,'The following error has occured: ' || sqlerrm);  
    END;
    SQL>exec  send_email ;
    BEGIN send_email ; END;
    ERROR at line 1:
    ORA-20001: The following error has occured: ORA-29279: SMTP permanent error: 550 5.7.1 Unable to relay for [email protected]
    ORA-06512: at "SCOTT.SEND_EMAIL", line 15
    ORA-06512: at line 1
    Notes:
    *1- that when i send to within our domain there is not problems !*
    *2- when i send from the outlook of our domain to outside it send fine !*

    Try my method of sending mail using UTL_SMTP package. Of course, it's not my own method (which I created:)), but I use it to send mail with attachment :)
    http://kamranagayev.wordpress.com/2009/02/23/using-oracle-utl_file-utl_smtp-packages-and-linux-shell-scripting-and-cron-utility-together-2/
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to attach multiple files in UTL_MAIL.SEND_ATTACH_VARCHAR2 method

    Hi all ,
    I had written a pl/sql where it will write multiple csvs i.e. a.csv,b.csv,c.csv,d.csv to a location using UTL_FILE to reports folder .
    How do i attach a.csv,b.csv,c.csv,d.csv into a single mail ??
    UTL_MAIL.send_attach_raw (sender => '[email protected]',
    recipients => 'recepient.com.sg',
    subject => 'Reports',
    MESSAGE => 'Reports are attached above',
    mime_type => 'text/html; charset=UTF8',
    attachment => a.csv,
    att_inline => FALSE,
    att_filename => file1
    Edited by: 907812 on 12-Jan-2012 23:03
    Edited by: 907812 on 12-Jan-2012 23:03
    Edited by: 907812 on 12-Jan-2012 23:04
    Edited by: 907812 on 12-Jan-2012 23:04

    UTL_MAIL does not work like that - you pointing to an external file and telling it to grab it and attached it to your e-mail.
    If you refer to the manual, the attachment parameter specifies it must contain the contents of the file.
    So your code needs to open the file. Your code needs to read the contents of the file. Your code needs to close the file. Your code needs to supply the contents text to UTL_MAIL via the attachment parameter.
    And as there is only a single attachment parameter, only a single file's contents can be supplied as attachment.
    Multiple attachments? Then you need to do what UTL_MAIL does. You need to write code that creates a valid e-mail Mime body. The Mime body must allow for multiple attachment. The Mime body needs to be delivered as an e-mail via the UTL_SMTP package.

  • UTL_MAIL  sent messages do not appear in the outbox OUTLOOK

    Dear Forrum
    Sorry for me bad english, I am not speak very well the english. I am from Ecuador.
    I configured UTL_Mail because i need to send email and everything works good. But when I send an email with an email account associated with the domain that I configured. The outlook does not appear anything in the outbox.
    Example
    I sent a message [email protected] account, the message is sent and reaches all recipients. In the inbox of the recipients [email protected] appears as the sender, but when I enter my account Outllok in the outbox nothing appears. My account is [email protected]
    What happens?
    I am working with apex 11g.
    Danny Lima Ecuador

    897381 wrote:
    So, Where sent messages are stored?
    Because if I go into my email account nothing appears in the outbox?Of course not. Why would it appear in your e-mail reader's outbox when your e-mail reader did not send the e-mail ?
    my Pl/sql looks like:
    BEGIN
    utl_mail.send(sender => '[email protected]',
    recipients => '[email protected]',
    subject => 'Test',
    message => 'HOlix');
    END;And this results in the Oracle database server to contact the mail server and send the mail. Your e-mail client is not part of this process. Your e-mail reader does not know about that e-mail. Your e-mail reader is a client- not a server. It has no reason to know what another e-mail client (your PL/SQL code) send or did not send.
    You want an outbox? You need then to design and code one for your PL/SQL mail client.
    I dont understand what happen?Perhaps you should read up on WHAT a mail (SMTP) server is, HOW it works, and WHAT a PPOP3/IMAP mailbox is, and HOW that works?

  • Getting Error while using UTL_MAIL procedure

    Hi All,
    I have written a simple PL/SQL block in which I call the UTL_MAIL.SEND procedure:
    DECLARE
    vSender varchar2(100);
    vReceiver varchar2(100);
    vSubj varchar2(100);
    vMesg varchar2(100);
    vMType varchar2(100);
    BEGIN
    vSender := '[email protected]';
    vReceiver := '[email protected]';
    vSubj := 'Test Email';
    vMesg := 'This is a test email';
    vMtype := 'text/plain; charset=us-ascii';
    utl_mail.send(vSender, vReceiver, NULL, NULL, vSubj,vMesg, vMType, NULL);
    END;
    When I execute the code, I get the following error message:
    ORA-29261: bad argument
    ORA-06512: at "SYS.UTL_TCP", line 17
    ORA-06512: at "SYS.UTL_TCP", line 246
    ORA-06512: at "SYS.UTL_SMTP", line 115
    ORA-06512: at "SYS.UTL_SMTP", line 138
    ORA-06512: at "SYS.UTL_MAIL", line 386
    ORA-06512: at "SYS.UTL_MAIL", line 599
    ORA-06512: at line 15
    29261. 00000 - "bad argument"
    *Cause:    A bad argument was passed to the PL/SQL API.
    *Action:   Check the arguments passed to the PL/SQL API and retry the call.
    Could anyone tell me where I am going wrong?
    Regards,
    AJ

    user11256160 wrote:
    Could anyone tell me where I am going wrong?Code is fine. Parameter defining the SMTP server is missing.
    You need to define it (using a SYSDBA account) as follows:
    SQL> alter system set smtp_out_server='<your-smtp-server>' scope=both;Replace +<your-smtp-server>+ with the IP address or host name of your SMTP server. Also this assumes standard SMTP tcp/25 port is used. If not, add the port number (using a colon separator) to the server name.

  • Error while running UTL_MAIL package

    SQL> conn system/sys@ORCL;
    Connected.
    SQL> @F:\oracle\product\10.2.0\client_5\RDBMS\ADMIN\utlmail.sql
    Package created.
    Synonym created.
    SQL> @F:\oracle\product\10.2.0\client_5\RDBMS\ADMIN\prvtmail.plb
    Warning: Package Body created with compilation errors.
    Errors for PACKAGE BODY UTL_MAIL:
    LINE/COL ERROR
    319/5 PL/SQL: SQL Statement ignored
    320/10 PL/SQL: ORA-00942: table or view does not exist
    325/7 PL/SQL: SQL Statement ignored
    326/12 PL/SQL: ORA-00942: table or view does not exist
    Can any help on this?

    SQL> conn sys/sys@ORCL as SYSDBA;
    Connected.
    SQL> @F:\oracle\product\10.2.0\client_5\RDBMS\ADMIN\utlmail.sql
    Package created.
    Synonym created.
    SQL> @F:\oracle\product\10.2.0\client_5\RDBMS\ADMIN\prvtmail.plb
    Package body created.
    No errors.
    SQL> GRANT execute ON utl_mail TO NIKHIL;
    Grant succeeded.
    SQL> disc
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> conn NIKHIL/NIKHIL@ORCL;
    Connected.
    SQL> ALTER SYSTEM SET smtp_out_server='72.167.238.201';
    System altered.
    SQL> DECLARE
    2
    3 vSender VARCHAR2(30) := '[email protected]';
    4
    5 vRecip VARCHAR2(30) := '[email protected]';
    6
    7 vSubj VARCHAR2(50) := 'Enter the subject here';
    8
    9 vMesg VARCHAR2(4000) := 'Enter the body';
    10
    11 vMType VARCHAR2(30) := 'text/plain; charset=us-ascii';
    12
    13 BEGIN
    14
    15 utl_mail.send(vSender, vRecip, NULL, NULL, vSubj, vMesg, vMType, NULL);
    16
    17 END;
    18 /
    DECLARE
    ERROR at line 1:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 97
    ORA-06512: at "SYS.UTL_SMTP", line 139
    ORA-06512: at "SYS.UTL_MAIL", line 405
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 15
    mycmpny-- got some value which i have removed.

  • How to send a mail using utl_mail

    Dear Experts
    i am facing problem while using the utl_mail package. whatever steps i have follow is underwritten.
    have a look.......
    SQL> ALTER SYSTEM SET SMTP_OUT_SERVER='smtp.gmail.com' SCOPE=SPFILE;
    System altered.
    SQL> @?/rdbms/admin/utlmail.sql
    Package created.
    Synonym created.
    SQL> @?/rdbms/admin/prvtmail.plb
    Package body created.
    No errors.
    SQL> BEGIN
    2 UTL_MAIL.SEND(SENDER => '[email protected]',recipients => '[email protected]',message => 'all is well', subject =>'wishes 4 u');
    3 END;
    4 /
    BEGIN
    ERROR at line 1:
    ORA-29279: SMTP permanent error: 530 5.7.0 Must issue a STARTTLS command first.
    39sm1824546yxd.6
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 222
    ORA-06512: at "SYS.UTL_MAIL", line 407
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 2
    please do needful..
    thanks in advance.
    regards
    dharmendra

    But, you apparently do have an internet account (usually nowadays internet and email etc. is 'all included'), else you wouldn't be posting here. So, let's assume your provider is ACME and you live in Holland (= .nl), then you could try:
    ALTER SYSTEM SET smtp_out_server='smtp.acme.nl' SCOPE=SPFILE;
    You need to figure that out yourself, since we don't know who provides you internet access (nor whether it would work).
    That would be the simplest way.
    Not sure whether you can get gmail etc. to 'work with you': Re: utl.mail - smtp_out_server parameter

  • Utl_mail.send_attach_varchar2 issue

    If I try to execute package below on 10.2.0.2 (on Solaris 10), then the attachment I receive in the email has two rows where first row is empty and the second row has a text 200708, aaaa, xxxx
    Any idea why? The attachment should have only one single row with text 200708, aaaa, xxxx why there are two rows and the first is empty?
    BEGIN
    utl_mail.send_attach_varchar2( sender => '[email protected]',
    recipients =>'[email protected]',
    subject => 'TEST',
    message => 'This is a test',
    attachment => '200708, aaaa, xxxx',
    att_filename => 'test.txt');
    END;

    Interesting, I get the same results running your code. The attached file has a leading blank line. Double checking the mail file in a hex editor shows that there is indeed an extra CRLF preceding the text that should be the body of your message. This is probably a bug in the implementation of the UTL_MAIL package that you could request help with from customer support. If you don't want to go through customer support, your other option would be to fore go using UTL_MAIL and instead go straight to UTL_SMTP, or grab a copy of the DEMO_MAIL package from OTN.

  • UTL_MAIL.send_attach_varchar2 add CrLf in attachment

    I'm having problems with UTL_MAIL... I need to send a RTF document attached to an email. But UTL_MAIL seems to add CrLf first in the attachement!
    If I try to send a realy simple file, just contailing 'Test' then the attachment will be chr(13)||chr(10)||Test. !!
    What ever is wrong, is wrong in this code snip...
    UTL_MAIL.send_attach_varchar2
    sender => '[email protected]',
    recipients => '[email protected]',
    subject => 'Log',
    MESSAGE => 'The attached file is the logfile. Please do not reply or respond to this e-mail, as it has been automatically generated.',
    attachment => 'Test',
    att_inline => FALSE,
    att_mime_type => 'application/octet',
    att_filename => 'log.txt'
    I have tried differnet Mime types and file names.... But nothing seems to help...
    I'm using a Oracle Xe 10.2.0.1.0.
    Can anybody explain whats failing???

    I don't know if this is the cause but why would anyone be on 10.2.0.1 this many years after so many patches have been released?
    Also consider attaching your file as raw rather than text. Does that solve the problem?

  • How to attach and email a text file using UTL_MAIL.SEND_ATTACH_VARCHAR2

    Hi im trying to attach a text file 'sample.txt' located in '\Test_Loc\New_Folder'
    Here is my code and my OS is Solaris and im using 10g R2
    CREATE OR REPLACE
    procedure test_v2 as
    Begin
    UTL_MAIL.SEND_ATTACH_VARCHAR2(
    sender => '[email protected]',
    recipients => '[email protected]',
    cc => null,
    bcc => NULL,
    subject => 'RE: Testing Attachment',
    message => 'TEST',
    mime_type => 'text/plain; charset=us-ascii',
    priority => 1,
    attachment =>'\Test_Loc\New_Folder\sample.txt',
    att_inline => TRUE,
    att_mime_type => 'application/octet' ,
    att_filename => 'demo.txt'
    end;
    Where am i going wrong? Please help me out
    Regards
    Vibhuti

    Hi,
    i can´t belive that no one is helping you out until now.
    If you found a Solution, let me know.
    I´m in search of the same Problem...
    Regards
    Lone

  • Maximum attachment size in utl_mail.send_attach_raw

    Hi All,
    Oracle 10.2.0
    Linux 2.6.9 EL
    We are using utl_mail package to send mails from oracle server. Now i tried to send a mail with the attachment of size 105 K. But i got an error like
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    It is working for the files with samller size.
    May i know the Maximum size of an attachment that i can use in utl_mail.send_attach_raw procedure?
    Please Advice..
    TIA,
    Edited by: ORCLDB on Jun 1, 2009 2:22 PM
    Updated the correct error message.

    Please do not create duplicate posts. Remove this one. Thank you.

Maybe you are looking for