How to ZIP file and send via SMTP in Oracle

Dear All,
I want to send data every month via email where the data i got from view.
The problem is the file is to big, so i should zip it.
the question is How i can perform it with procedure and send it automatically via Job every 1st month
what i've done was i create a procedure to make the file in zip
[quote/]
CREATE OR REPLACE PROCEDURE production.CREATE_EXCEL_DTKPITerminate IS
    vvrun varchar2(3000);
    vsender varchar2(100);
    vrecepient varchar2(100);
  vccrecipient varchar2(1000);
    vsubject varchar2(1000);
    vmessage long;
    v_loc varchar2(5);
   NAME:       CREATE_EXCEL
   PURPOSE:
   REVISIONS:
   Ver        Date        Author           Description
   1.0        10/15/2012          1. Created this procedure.
   NOTES:
   Automatically available Auto Replace Keywords:
      Object Name:     CREATE_EXCEL
      Sysdate:         10/15/2012
      Date and Time:   10/15/2012, 9:42:40 , and 10/15/2012 9:42:40
      Username:         (set in TOAD Options, Procedure Editor)
      Table Name:       (set in the "New PL/SQL Object" dialog)
begin
   vsender := '[email protected]';
     vrecepient := '[email protected]';
  vccrecipient := '[email protected]';
     vsubject := 'KPI Terminate'||TO_CHAR(SYSDATE,'MM-YYYY');
     vmessage :=
        'MESSAGE .';
     as_xlsx.query2sheet('
     select cmp_company,emp#,name,class,goucode,goudesc,job,job_name,tglkeluar
            ,nac_seq,nac_code,nac_type,nac_begin,nac_desc,reason,reason_code
            from V_KPITerminate
     --insert into blobs(blob_id,blob_name)
     --values (1,as_xlsx.finish);
     SEND_SMTP_PUZZLE_DTKRY(vsender,vrecepient,vccrecipient,vsubject,vmessage,as_xlsx.finish,'DataKPITerm -'||to_char(sysdate,'yyyy')||'.zip');
  --as_xlsx.save( 'BASE_DIR3', 'SWT.xls' );
end;
[/quote]
when i execute this, Error ocured
Message       : 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 399
ORA-06512           : at "PU22PROD_123.SEND_SMTP_PUZZLE_DTKRY", line 151
ORA-29294           : A data error occurred during compression or uncompression.
ORA-06512           : at "PU22PROD_123.CREATE_EXCEL_KPITERM", line 60
ORA-06512           : at line 2
cann anyone help?
the data is too big so i prefer it zip.. can anyone help..
the SMTP I use is like this
CREATE OR REPLACE PROCEDURE production.SEND_SMTP_PUZZLE_DTKRY (pSender VARCHAR2,pRecipient VARCHAR2, pCCRecipient VARCHAR2, pSubject VARCHAR2,pMessage LONG,pattach BLOB,pfilename VARCHAR2) IS
  v_src_loc  BFILE := BFILENAME('BASE_DIR3', 'pajak.xls');
      l_buffer   RAW(54);
      l_amount   BINARY_INTEGER := 54;
     l_pos      INTEGER := 1;
     l_blob     BLOB := EMPTY_BLOB;
     l_blob_len INTEGER;
      v_amount   INTEGER;
      crlf CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
  v_connection_handle  UTL_SMTP.CONNECTION;
    v_smtp_host          VARCHAR2(30) := 'mail.mayora.co.id'; --My mail server, replace it with yours.
    v_subject            VARCHAR2(30) := 'Your Test Mail';
    l_message            VARCHAR2(200) := 'This is test mail using UTL_SMTP';
  pcc varchar2(50);
  i number := 1;
  j number := 1;
  l_original_blob blob;
  l_compressed_blob blob;
BEGIN
   BEGIN
     /*Preparing the LOB from file for attachment. */
     --DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
     --dBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
     --v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
     --DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
     --l_blob_len := DBMS_LOB.getlength(l_blob);
  l_original_blob     := pattach;
     l_compressed_blob   := TO_BLOB('1');
  UTL_COMPRESS.lz_compress (src => l_original_blob,
                               dst => l_compressed_blob);
  --DBMS_LOB.FREETEMPORARY(l_compressed_blob);
  l_blob := l_compressed_blob;
     l_blob_len := DBMS_LOB.getlength(l_blob);
     /*UTL_SMTP related coding. */
     v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host);
     UTL_SMTP.HELO(v_connection_handle, v_smtp_host);
     UTL_SMTP.MAIL(v_connection_handle, psender);
     UTL_SMTP.RCPT(v_connection_handle, precipient);
    if pCCRecipient is not null then
        if(instr(pCCRecipient,',') = 0) then
        utl_smtp.rcpt(v_connection_handle, pCCRecipient);
        else
       while(instr(pCCRecipient,',',i) > 0)
        loop
        pcc := substr(pCCRecipient,i, instr(substr(pCCRecipient,i),',')-1);
        i := i+instr(substr(pCCRecipient,i),',');
        utl_smtp.rcpt(v_connection_handle,pcc);
        end loop;
        pcc := substr(pCCRecipient,i,length(pCCRecipient));
        utl_smtp.rcpt(v_connection_handle,pcc);
        end if;
    end if;
     --UTL_SMTP.RCPT(v_connection_handle, v_cc_email_address);
     UTL_SMTP.OPEN_DATA(v_connection_handle);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                           'FROM' || ': ' ||  psender || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                           'TO' || ': ' ||  precipient || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                           'CC' || ': ' ||  pCCRecipient || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                           'SUBJECT' || ': ' ||  pSubject || UTL_TCP.CRLF);
   --MIME header.
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'MIME-Version: 1.0' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         ' boundary= "' || 'BASE_DIR3.SECBOUND' || '"' ||
                         UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     -- Mail Body
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         '--' || 'BASE_DIR3.SECBOUND' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Type: text/plain;' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         ' charset=US-ASCII' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, Pmessage || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     -- Mail Attachment
   UTL_SMTP.WRITE_DATA(v_connection_handle,
                         '--' || 'BASE_DIR3.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Type: application/octet-stream' ||
                         UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         ' filename="' || pfilename || '"' || --My filename
                         UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
   /* Writing the BLOL in chunks */
     WHILE l_pos < l_blob_len LOOP
       DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
       UTL_SMTP.write_raw_data(v_connection_handle,
                              UTL_ENCODE.BASE64_ENCODE(l_buffer));
       UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
       l_buffer := NULL;
       l_pos    := l_pos + l_amount;
    END LOOP;
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     -- Close Email
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         '--' || 'BASE_DIR3.SECBOUND' || '--' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
     UTL_SMTP.CLOSE_DATA(v_connection_handle);
     UTL_SMTP.QUIT(v_connection_handle);
  EXCEPTION
    WHEN OTHERS THEN NULL;
    --return 1;
      UTL_SMTP.QUIT(v_connection_handle);
      RAISE;
  END;
END;

this is my smtp procedure
CREATE OR REPLACE PROCEDURE PROD.SEND_SMTP_PUZZLE_DTKRY (pSender VARCHAR2,pRecipient VARCHAR2, pCCRecipient VARCHAR2, pSubject VARCHAR2,pMessage LONG,pattach BLOB,pfilename VARCHAR2) IS
  v_src_loc  BFILE := BFILENAME('BASE_DIR3', 'pajak.xls');
      l_buffer   RAW(54);
      l_amount   BINARY_INTEGER := 54;
     l_pos      INTEGER := 1;
     l_blob     BLOB := EMPTY_BLOB;
     l_blob_len INTEGER;
      v_amount   INTEGER;
      crlf CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);
  v_connection_handle  UTL_SMTP.CONNECTION;
    v_smtp_host          VARCHAR2(30) := 'mail.mayora.co.id'; --My mail server, replace it with yours.
    v_subject            VARCHAR2(30) := 'Your Test Mail';
    l_message            VARCHAR2(200) := 'This is test mail using UTL_SMTP';
  pcc varchar2(50);
  i number := 1;
  j number := 1;
  l_original_blob blob;
  l_compressed_blob blob;
BEGIN
   BEGIN
     /*Preparing the LOB from file for attachment. */
     --DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
     --dBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
     --v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
     --DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
     --l_blob_len := DBMS_LOB.getlength(l_blob);
  l_original_blob     := pattach;
     l_compressed_blob   := TO_BLOB('1');
  UTL_COMPRESS.lz_compress (src => l_original_blob,
                               dst => l_compressed_blob);
  --DBMS_LOB.FREETEMPORARY(l_compressed_blob);
  l_blob := l_compressed_blob;
     l_blob_len := DBMS_LOB.getlength(l_blob);
     /*UTL_SMTP related coding. */
     v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host);
     UTL_SMTP.HELO(v_connection_handle, v_smtp_host);
     UTL_SMTP.MAIL(v_connection_handle, psender);
     UTL_SMTP.RCPT(v_connection_handle, precipient);
    if pCCRecipient is not null then
        if(instr(pCCRecipient,',') = 0) then
        utl_smtp.rcpt(v_connection_handle, pCCRecipient);
        else
        while(instr(pCCRecipient,',',i) > 0)
        loop
        pcc := substr(pCCRecipient,i, instr(substr(pCCRecipient,i),',')-1);
        i := i+instr(substr(pCCRecipient,i),',');
        utl_smtp.rcpt(v_connection_handle,pcc);
        end loop;
        pcc := substr(pCCRecipient,i,length(pCCRecipient));
        utl_smtp.rcpt(v_connection_handle,pcc);
        end if;
    end if;
     --UTL_SMTP.RCPT(v_connection_handle, v_cc_email_address);
     UTL_SMTP.OPEN_DATA(v_connection_handle);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                           'FROM' || ': ' ||  psender || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                           'TO' || ': ' ||  precipient || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                           'CC' || ': ' ||  pCCRecipient || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                           'SUBJECT' || ': ' ||  pSubject || UTL_TCP.CRLF);
     --MIME header.
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'MIME-Version: 1.0' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         ' boundary= "' || 'BASE_DIR3.SECBOUND' || '"' ||
                         UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     -- Mail Body
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         '--' || 'BASE_DIR3.SECBOUND' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Type: text/plain;' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         ' charset=US-ASCII' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, Pmessage || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     -- Mail Attachment
   UTL_SMTP.WRITE_DATA(v_connection_handle,
                         '--' || 'BASE_DIR3.SECBOUND' || UTL_TCP.CRLF);
    UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Type: application/octet-stream' ||
                         UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         ' filename="' || pfilename || '"' || --My filename
                         UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
   /* Writing the BLOL in chunks */
     WHILE l_pos < l_blob_len LOOP
       DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
       UTL_SMTP.write_raw_data(v_connection_handle,
                              UTL_ENCODE.BASE64_ENCODE(l_buffer));
       UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
       l_buffer := NULL;
       l_pos    := l_pos + l_amount;
    END LOOP;
     UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
     -- Close Email
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         '--' || 'BASE_DIR3.SECBOUND' || '--' || UTL_TCP.CRLF);
     UTL_SMTP.WRITE_DATA(v_connection_handle,
                         UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
     UTL_SMTP.CLOSE_DATA(v_connection_handle);
     UTL_SMTP.QUIT(v_connection_handle);
  EXCEPTION
    WHEN OTHERS THEN NULL;
    --return 1;
      UTL_SMTP.QUIT(v_connection_handle);
      RAISE;
  END;
END;
is there a mistake?

Similar Messages

  • Converting html file into zip file and send email attaching zip file

    Hi Experts,
    I am trying to send email with attachment(html). Which contains more than 7MB. So, It is throwing an error like Size exceeded.
    So, Now i need to compress the data for less than 7MB.
    I decided to convert HTML File into ZIP File.
    Kindly suggest me to convert the HTML file into ZIP file and sending email with attached ZIP file.
    Correct answer rewarded,
    Thanks & Regards,
    N. HARISH KUMAR

    Hi Experts,
    *// HTML_TAB converting into ZIP File
       DATA  : zip_tool TYPE REF TO cl_abap_zip,
               filename TYPE string ,
               filename_zip TYPE string .
       DATA  : t_data_tab TYPE TABLE OF x255,
               bin_size TYPE i,
               buffer_x TYPE xstring,
               buffer_zip TYPE xstring.
    filename = text-007.                                                                          "'HTML_TAB
    *describe the attachment
       DESCRIBE TABLE html_tab LINES tab_lines.
       bin_size = tab_lines * 255.
       CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
         EXPORTING
           input_length = bin_size
         IMPORTING
           buffer       = buffer_x
         TABLES
           binary_tab   = html_tab.
       IF sy-subrc <> 0.
    *     message id sy-msgid type sy-msgty number sy-msgno
    *     with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    *create zip tool
       CREATE OBJECT zip_tool.
    *add binary file
       CALL METHOD zip_tool->add
         EXPORTING
           name    = 'FSSAI_MAIL.HTML'
           content = buffer_x.
    *get binary ZIP file
       CALL METHOD zip_tool->save
         RECEIVING
           zip = buffer_zip.
       CLEAR: t_data_tab[],bin_size.
       CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
         EXPORTING
           buffer        = buffer_zip
         IMPORTING
           output_length = bin_size
         TABLES
           binary_tab    = html_tab.
    Thanks & Regards,
    N. HARISH KUMAR

  • File Adapter to read Zip file and send it as input to another webservice

    Hi,
    I have the below requirement:
    1. A service will generate 3 attachments and place it in a particular directory.
    2. SOA service has to pick those 3 files and send those files as input to another custom application which will email.
    Design :
    1. First SOA will create an archive file of those 3 attachements and then file adapter will poll for that zip file in that location and send that file as a whole to the custom application.
    Query:
    Now my question, is the above design feasible? If so, how to configure the file adapter to pass the file as input to that custom application?
    Kindly do the needful
    Thanks,
    Priya

    You can accomplish this via java embedding activity...Create a java embedding, which will create a zip file.. this java code is easy to implement..
    You can also do away with un-necessary polling file adapter.. and you can use "Synchronous File Read" operation of File Adapter.. For Sync Read, you'll have to pass the zip file name, which you can easily fetch from java embedding activity..
    Let me know, if this doesn't work.

  • Encrypt file and send via email

    Hi,
    I have a file which I wish to encrypt and send via email. I know how to send by email but wish to send the file (csv), protected. I have read a few boards that say you could zip the file and add password protection. But sadly none of the forums show how to do this, does anyone have any code examples of what packages I would need?
    Any help would be greatly appreciated.

    See the JavaMail Third Party Products list at http://java.sun.com/products/javamail/Third_Party.html.
    Bouncy Castle is a popular package to handle secure email.

  • Rename the zip file and send it using the Receiver Mail Adapter

    Hi,
    We have a custom module that will create multiple attachments. The result is then passed to the PayloadZipBean, which zips as per required.
    When we output this to a file adapter, we provide the file name as say "zippedfile.zip" the result is as expected.
    For example, if the custom module created 3 attachments with the names as file1.txt, file2.txt and file3.txt, the zip file zippedfile.zip, will contain 3 files as file1.txt, file2.txt and file3.txt.
    The issue that we are facing is when we use the mail adapter, the zip file is getting renamed to file1.txt.zip i.e to say that it takes the name of the main payload from the custom module (file1.txt)
    TextPayload txtpayload = message.getDocument();
    txtpayload.setContentType("text/plain");
    txtpayload.setName("file1.txt");
    moduleData.setPrincipalData(message);
    We tried using the MessageTransformbean but it doesn't seem to change the name of the file.
    Not sure where we are going wrong. Is it that the output of the payloadzipbean cannot be used and altered by MessageTransformbean?
    Is there any alternative as to rename the name of zipfiles and use it in the mail adapter?
    Appreciate any help on this regard.
    Regards,
    Shabz

    Solved.
    use Transform.ContentDisposition - attachment;filename="youfilename"
    Do read the mail adapter FAQ.
    The parameter can vary for different mail client.

  • How to acquire data and send via tcp/ip

    well guys i'm having a problem here
    i will have a client and a server....
    the client will stay at my home doing some kind of monitoring
    and i want that my client send this informations to me here in my work
    the informations are 6 variables
    3 voltages and 3 currents i already did a program for try the communication
    and it works.... i used the random number only to see if i was receiving the values
    and it works perfectly
    now i have to put the real values... i will use a daqMX.. i don't know the exaclty daq.. but is the  cheapest... because i don't need too much things...
    how could i put the client to make this monitoring and send the data to me??
    thanks for the help!

    I assume you meant the USB-6215, as there is no 6125.
    I would suggest looking over this page: Getting Started with NI-DAQmx: Basic Programming with NI-DAQmx. It contains a wealth of information on using DAQmx.
    You can use MAX to create a simulated 6215 so you can create tasks and
    then implement your code using the simulated device. This will allow you to write the code and test it without actually having the device. Since the 6215 has only analog inputs I am assuming you're using something like a shunt to measure your 3 currents. As I noted, there are tons of examples that ship with DAQmx - just use
    the Example Finder to find them. For what you're doing you can probably
    get away with just using the DAQ Assistant Express VI. However, that
    Express VI generates dynamic data, which you will need to convert to an
    array in order to send it over TCP/IP. This can be done using the
    Convert From Dynamic Data VI (in the Express palette).
    Attached is a simple example using the DAQ Assistant. The task is configured to get just one sample from each channel. You will need to modify the code if you are getting N samples from each channel (i.e., basically a 2D array). In order to run this VI you will first need to create a simulated 6215 in MAX. Please read the documentation in MAX on how to create simulated devices. The 6215 is in the "M" branch when you get the dialog to select a device.
    Attachments:
    teste 3-B - server MOD.vi ‏123 KB

  • Zipping multple files and sending the Zipped folder to target location using Biztalk

    Hi all,
    I have requirement like
    Seperate Xml files will be coming as incoming message to Biztalk
    Biztalk need to send a zipped folder contining all these xml to target location
    any link or component i can use to meet this requiremant  plese help
    regards,
    Vineeth

    Create or use the publicly available custom component for unzipping the received message and for send use another component to replace all attachments of a multi-part message
    (multiple parts to multiple files to zip) for its zipped equivalent. If not multiple message use any zipping API to zip the multiple 
    files to zip file and send the zipped file in send port.
    BizTalk Pipeline Custom Component Message Unzippper
    Zip Files in a Custom Pipeline Component
    Multi-Part Message Attachments Zipper Pipeline Component
    BizTalk Multipart Message Attachments Zipper is a pipeline component
    List of custom Pipeline component you can use
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Zip a text file and send as email attachment

    Hi,
      I have a requirement to zip a text file and send it as an email attacment. I saw many posts with similar discussion on the forum but none gave me a very clear answer. Have anyone done this? If so please help.
    Regards,
    Hari.

    Hi Durairaj,
    I am working in ECC 6.0 and all ZIP classes are available in my system. I am converting the ABAP spool to PDF. My PDF is too long (57MB) that i need to convert it to ZIP  before i send it as a mail attachment. How do i do this?
    Thanks,
    RS

  • How to make a PDF embedded image append a report and send via fax electronically from MS SSRS 2012?

    How can I make a PDF embedded image append a SSRS 2012 report and send via fax all electronically?  Is this possible?
    Thanks in advance for your time!

    Hello,
    1. The report item Image can be used to display the image which  embedded in the report, stored in a database, stored on the report server, or stored elsewhere on the Web.
    For example, you can embedded the PDF image in the report and stored as text in the report definition.
    2.Reporting Services includes an e-mail delivery extension and a file share delivery extension which you can send report to user or group through e-mail or send the report to a shared location on your network.
    If you want to send the report to FAX, you may try to create a custom delivery extension depend on your faxing software.
    Reference:Implementing a Delivery Extension
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Is it possible to zip a file and send it as an attachment in a mail?

    Hi,
    Is it possible to zip a file and send it as an attachment in a mail?

    When you use OWA in something other than IE, you're using OWA lite and no--it is not possible to do either in OWA lite (well, new Exchange stuff makes my answer a little less emphatic but still: pretty much no). Thanks Microsoft. But this guy made it possible to mark unread/read and select all/none:
    http://david-burger.blogspot.com/2008/07/firefox-greasemonkey-outlook-web-access_19.html

  • How to set password for a zip file and should be checked when reading that

    Hi friends,
    how to set password for a zip file and should be checked when reading that file???
    thanks.
    Praveen Reddy.J

    Heyy man, i think, u did not get my problem.
    all i have to do is:
    i have to create a zip file, and we should secure it with password when creating. and whenever the user wants to open that zip file he should provide correct passowrd otherwise he could not read that file. So, we should check for that also.
    Tanks for reply.

  • How do I record a sound file and send it as an attachment using my 4s?

    How do I record a sound file and send it as an attachment using my 4s?

    Hi,
    The following is the program[Click Here| http://saptechnical .com/Tips/ABAP/email/EmailProgram.txt] which will send any format file. Actual Creator of the program is Amit Bisht.
    Thanks & Regards,
    Rock.

  • I have just recorded on garageband and now need to send away for editing how do i place in file and send

    I have just recorded on garageband and now need to send away for editing how do i place in file and send 

    Send where? Edit how?

  • How to calculates averages and send to a file?(source code)

    how to calculates averages and send to a file?(source code) I need to get started but I don't know where to begin...........the book I have doesn't really say how to handle averages and send to a file.................anybody got suggestions on how to get started? I am a newbie so place in layman's terms.............thanx

    To calculate an average: add all of the numbers together and divide by how many numbers you added together.
    ex: (1 + 2 + 3 + 10)/4 = 4 (4 is the average)
    As for writing them to a file, look over the API for random or sequential access files.

  • Ive gotten a zip file and i have no idea how to open it and view images

    ive gotten a zip file and i have no idea how to open it and view images?

    Double-click it in the Finder.
    (107691)

Maybe you are looking for