How to send .CSV file via email in Oracle10g/11g PL/SQL

Hi Guys,
Can any one let me know or suggest me how to send .csv file via email attachment using Oracle PL/SQL.
Thanks in advance!
Regards,
LRK

A FAQ. Use UTL_MAIL (if attachment is 32KB less). Else use UTL_SMTP. Search this forum. Search using google.

Similar Messages

  • How do i send a file via email so it opens in booklet form to other people

    how do i send a file via email so it opens in booklet form to other people

    You would appear to be doing the right method as in this work through:http://support.en.belgacom.be/app/staticpages/devices/en/#/nokia/c3-00/email/sending-an-email-messag...
    Is there similar problem with Email without attachment?
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • How to send CSV files to external server

    Hi All,
    How to send CSV files to external server (not to application server).
    I know how to download files to application server.
    Please give me the steps to send CSV files to external server.
    Is it posiible with RFCs? If yes, then plz provide me the steps. Do we need to create RFC destination for this.
    Appriciate your help with rewarding points.
    Please help as this is an urgent requirement

    hi,
    you can send via xi.
    chk this blog
    a) content conversion (sender)
    /people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
    b)content conversion (receiver)
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    <b>
    reward points if this helps you.</b>
    Siva
    Message was edited by:
            SivaKumar

  • C5-03 -how to send music files via bluetooth

    hi
    i've c5-03 mobile
    1.can any one tell me how to send music files via bluetooth
    2.there only mark all option ann no mark several option can any one tell me r there any software updates for this
    Solved!
    Go to Solution.

    PerLs wrote:
    Hi,
    You can do it with the file manager this is how i use to do it. You will find it in menu|applications|office folder
    There is also a possibility to long press on the track and send. Im not sure if C5-03 support this... But go to you music libery and find the track you want then long press on it and press send.the long press method works
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Sending .fdf file via email + exiting full screen mode

    Hi everyone,
    I have the following code attached to a button on a pdf form that sends the form data in a .fdf file via email:
    var f = this.getField("useraddress");
    this.mailForm(true, f.value, "", "", "RSVP");
    Apparently the following line gets the user address from a field:
    var f = this.getField("useraddress");
    I created a field called "useraddress" and set it to be hidden but I don't know how to have my email address continually popuate this field so that it can be used in the above code to automatically send the .fdf file to my address.
    Would someone be able to tell me how I'd do this?
    Also just one other question if that's okay?
    The pdf is set to open up in full screen mode automatically. I want to add a button that will take the viewer out of full screen mode but I'm not sure what the code would be to do this. Can someone tell me how to do this also?
    Thanks in advance for any help.

    Yeah I probably should - I'm not that familiar with javascript so I didn't know I could. Have worked out the correct way now so thanks.
    I also noticed that when the .fdf file is attached, Acrobat names the file with a generic file name, eg. ACR5037112.fdf - is there a way to automatically name the file with the contents of one of the fields in the form?
    Also, do you have an idea of what the code would be to exit out of fullscreen mode when a button is clicked?

  • How to send a file via e-mail with director

    Is it even possible to have a button in a free-standing
    projector that would send a file via e-mail, or open up an e-mail
    program and have the file attached and addressed? Or is it possible
    to put a file on a server? Of course, both of these methods would
    alert the user and ask for their permission.

    To just open the user's email program, you can use the
    standard lingo:
    goToNetPage(mailto:[email protected])
    That approach is kind of annoying because it actually opens
    an empty
    browser window then the user's email program. I don't think
    you can use
    that approach to send attachments though.
    A much better way is the fabulous DirectEmail xtra from
    DirectXtras.
    Check out their site:
    http://www.directxtras.com/demail_home.asp?UUID=1217348
    DirectEmail can do everything you are asking for (and more).
    It is
    cross-platform, shockwave safe, can handle text or HTML
    email, can do
    attachments, can use a mail server or not, and is really easy
    to use.
    The same company makes DirectFTP which you can get from:
    http://www.directxtras.com/DFTP_home.asp?UUID=1217348
    DirectFTP can put files onto an FTP site with a minimum of
    fuss. I have
    used both on quite a few occasions and they rock. You can
    actually
    write a full-fledged email or ftp program with those xtras
    and Director.

  • How to send a link via email

    how do I send a link via email with my ipa

    LIke this:
    http://i1224.photobucket.com/albums/ee374/Diavonex/1906911d.jpg

  • How to send csv file as an attachment

    Hi,
    I am able to create a csv file in this directory as "test.scv" using utl_file and some select statements.
    Now I need to send this csv file as an attachment in email.
    we have smtp installed on our server.
    Please help me on this .
    Thanks
    Kind Regards

    The first link takes in a filename (this would be the csv file you have already created) so nothing should be hard coded; it's just the parameters you pass in.
    Doing a little more research (from the asktom article I posted previously) links to this [http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html] which the real gold is at [http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/maildemo_sql.txt]:
    with examples how to use it at [http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/mailexample_sql.txt].
    To get the attachments working from a PL/sql application you will require one of the packages or a large amount of code.
    here's the coded example for attaching files from the packages listed in maildemo_sql.txt from Oracle's website
    REM Send an email with 2 attachments.
    DECLARE
      conn      utl_smtp.connection;
      req       utl_http.req; 
      resp      utl_http.resp;
      data      RAW(200);
    BEGIN
      conn := demo_mail.begin_mail(
        sender     => 'Me <[email protected]>',
        recipients => 'Someone <[email protected]>',
        subject    => 'Attachment Test',
        mime_type  => demo_mail.MULTIPART_MIME_TYPE);
      demo_mail.attach_text(
        conn      => conn,
        data      => '<h1>Hi! This is a test.</h1>',
        mime_type => 'text/html');
      demo_mail.begin_attachment(
        conn         => conn,
        mime_type    => 'image/gif',
        inline       => TRUE,
        filename     => 'image.gif',
        transfer_enc => 'base64');
      -- In writing Base-64 encoded text following the MIME format below,
      -- the MIME format requires that a long piece of data must be splitted
      -- into multiple lines and each line of encoded data cannot exceed
      -- 80 characters, including the new-line characters. Also, when
      -- splitting the original data into pieces, the length of each chunk
      -- of data before encoding must be a multiple of 3, except for the
      -- last chunk. The constant demo_mail.MAX_BASE64_LINE_WIDTH
      -- (76 / 4 * 3 = 57) is the maximum length (in bytes) of each chunk
      -- of data before encoding.
      req := utl_http.begin_request('http://www.some-company.com/image.gif');
      resp := utl_http.get_response(req);
      BEGIN
        LOOP
          utl_http.read_raw(resp, data, demo_mail.MAX_BASE64_LINE_WIDTH);
          demo_mail.write_raw(
            conn    => conn,
            message => utl_encode.base64_encode(data));
        END LOOP;
      EXCEPTION
        WHEN utl_http.end_of_body THEN
          utl_http.end_response(resp);
      END;
      demo_mail.end_attachment( conn => conn );
      demo_mail.attach_text(
        conn      => conn,
        data      => '<h1>This is a HTML report.</h1>',
        mime_type => 'text/html',
        inline    => FALSE,
        filename  => 'report.htm',
        last      => TRUE);
      demo_mail.end_mail( conn => conn );
    END;
    /Edited by: tanging on Dec 18, 2009 10:58 AM

  • How to send .jar files via bluetooth in Nokia 6500...

    I am not able to send and see the option of sending jar files vai bluetooth . I want to know how to send it.
    Kindly reply ASAP.
    Thanks
    Abhishek

    Its something like , I already have it on my mobile and wanna transfer that file to my another same mobile.
    This is case when i am away from my comp. so that i can transfer songs,images etc via bluetooth but not jar files. Is there any option or any software for Nokia 6500 slide ??
    I saw in some othen N's phone they have file manager option and they transfer app. via that through bluetooth.
    But there is no option in NOKIA 6500 SLIDE ??? Is it a bug ???
    Thanks
    Abhishek

  • How do I send .band files via email?

    Um, that's it:
    I can't seem to email my .band files to my friends who share garageband interest.

    CrakaC wrote:
    I can't seem to email my .band files to my friends who share garageband interest.
    If you have MobileMe, there's a new share feature which lets you upload a large file to your iDisk, then send someone a link to it in an email. They click on the link and download the file.
    As HT said, a service like yousendit also works. Dropbox is also popular. But if you have mobileme, the new share feature works really well.

  • Unable to send a file via my email client

    when i try to send a file via email i get the following error message : ' adobe reader could not  connect to e-mail client' - pl help.
    os; win 7 home premium[64-bit]; browser: ie9; e-mail client : hotmail & gmail

    That pretty much means you don't have an email client. This is something like Outlook Express you may have seen.
    Instead, open your email and attach the PDF.

  • Trouble send PDF file by email

    Hi I down loaded the new ios7 app and since then I have had trouble sending PDF files via email can any 1put any light in it?

    Just like any other file...
    On Sat, Mar 7, 2015 at 12:16 AM, larrys19338374 <[email protected]>

  • Send spool list ceated by Job (SM36) as pdf-file via email

    We are running the report RM06EFLB (Transaktion ME84 - "Create Releases") in the background.
    The Job is creating a spool list with 17 pages.
    I want to send this 17 pages (in a readable form) to a number of persons.
    This did I try so far:
    - Distribution list with Recipient type "via Internet" as Spool list recipients in the Job. (Tried different formats for ABAP List in Transaction SCOT)
    => Email is send to recipients, attachment is readable depending on format.
         Problem: attachment is not complete, it contains only about 15 pages (985 rows).
    - Distribution list with Recipient type "Internal User - SAP-Office" as Spool list recipients in the Job.
    => Document is sent to Business Workplace
         Problem:  attachment is not complete, it contains only about 15 pages
    Any ideas how to get the complete spool list?
    Is there mayby a report around  that is sending a spool list as pdf-file via email to a number of recipients?
    (Would like to maintain this Report as an additional step in the job. The spool-number should be selected from the previous step.)
    Thank you for your help.
    Jens

    Oh sorry - here is the coding which is used in that program:
    First use function module  'CONVERT_ABAPSPOOLJOB_2_PDF' to convert the spool entry into pdf.
    Loop at output table PDF and concatenate all lines into a string. Convert string to xstring.
    Then call mail class:
    DATA: lv_pdf_x TYPE xstring,
            lv_subject TYPE string,
            lv_doc_desc TYPE so_obj_des,
            lv_mail_body TYPE soli_tab.
      DATA: ls_atta TYPE rcf_s_att4mail_hex,
            lt_atta TYPE rcf_t_att4mail_hex.
    * -- Fill parameter
      lv_subject = 'Requested Report'."#EC NOTEXT
      lv_doc_desc = 'Report XXL'."#EC NOTEXT
    *  lv_mail_body = ?
      ls_atta-name = lv_doc_desc.
      ls_atta-extension = 'PDF'.
      ls_atta-content = p_pdf_x. <- This is your xstring
      APPEND ls_atta TO lt_atta.
      TRY.
          CALL METHOD cl_hrrcf_services_mail=>send_web_mail
            EXPORTING
              p_subject              = lv_subject
              p_receiver             = p_receiver->email_address
              pt_atta_hex            = lt_atta
              p_sender               = p_sender->email_address
              p_body_c               = lv_mail_body.
        CATCH cx_hrrcf.
      ENDTRY.
    I hope that you have the above mentioned class in your system but it should work with other email functions as well.
    Regards
    Nicola

  • I updated Firefox and now, when I select File, Send Link, a dialog box pops up asking me to establish a new account before I can send the link via email.

    I updated Firefox and now, when I select File, Send Link, a dialog box pops up asking me to establish a new account before I can send the link via email. I use Outlook, so how do I avoid setting up some new account and yet am able to send the link via Outlook?
    I have a feeling it may have something to do with HotMail.com.

    My Error: I found out that it was Mozilla Thunderbird that was causing the problem. I uninstalled it and the problem went away.

  • How to send word file as attachment in an email

    Hi All,
               I have a scenario where the a word document is sent using a file adapter and mail adapter puts it as an attachment and sends it to designated email group.
    Now the issue is the attachment that I am getting is text file, but i want it to be a word format file.
    Pls advice..
    Xier

    Hi,
    Just  give this a shot.
    In the file adapter.
    Set  Additional File(s) .
    and follow this document how to send additional file, rules and naming conventions and  parameters.
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    Itz simple.
    <b>Cheers,
    *RAJ*</b>
    I

Maybe you are looking for

  • Br350 - Diversity and drivers issue

    Hi I have a problem with the Aironet BR350, in the way it handles diversity. I run V12.05, and I use them as bridges with clients which means other bridges can route through. I have Tx/Rx diversity enabled on both rightand left antennae, and I log th

  • ORA-03137: Interner TTC-Protokollfehler: [1010] [] [] [] []

    Hello everyone, We are receiving frequently (two times a day) in our Oracle 11gR1 database (Windows 2003) this error. Errors in file C:\ORACLE\diag\rdbms\nvh01_64\nvh01\trace\nvh01_ora_7124.trc: ORA-03137: Interner TTC-Protokollfehler: [1010] [] [] [

  • Headphones not working in vista

    for some reason out the blue my headphones no longer work when connected to my logitech X-540 jack on that corded volume dial. i am for some reason getting "high definition audio device" as a selection, but can not select xfi at all. i am very confus

  • Eclipse 3.1.0 debugger is slower

    Hi All, Apparently, I have this problem with my Eclipse IDE when I try to perform debugging. It takes TOO long (significantly longer then usual) I eliminated all breakpoints and still - nothing helps. Does anyone have any idea?

  • BT Infinity installation complaint

    I am writing this email as I am wanting to know what is the best route of complaint regarding the attempted installation of my new BT Infinity 2 connection. An engineer from Kelly Communications visited my home a few days ago to install my new BT Hom