Send a mail with attachement along with password protected

I will try with UTL_MAIL package its working but i need it with ziping the attachment file and that file along password protected(encrypte)
utl_mail.send_attach_raw(
sender => vSender,
recipients => mrec.per_h_email,
subject => vSubj,
message => vMesg,
attachment => rfile,
att_inline => FALSE,
att_filename => fname);
END LOOP;
please help me ,,
Edited by: 865995 on Jun 21, 2011 2:17 AM

You first need to understand the basic structure of a Multipurpose Internet Mail Extensions (MIME) body.
That is what an e-mail is. That is what mail readers create when sending mail. That is what mail readers expects and renders when receiving mail.
A mail attachment cannot be password protected via MIME itself. The MIME specs do not support password protected "boundary pieces" in a MIME body.
A MIME body can however contain multiple attachments and different types of attachment. From text and html to images and video.
It can also include a binary attachment like a zipfile. That zipfile can be protected by a password.
An import point to keep in mind that attaching an binary file to a MIME body (e-mail) means:
a) creating a MIME payload/boundary piece for that file in the mail body
b) reading the contents of that file
c) uu encoding that file (it basically needs to be 7bit ASCII and not 8bit to survive intact across networking infrastructure)
d) writing that encoded text as the attachment piece into the mail body
None of this has however anything to do with SQL or PL/SQL specifically. What is needed is a clear understanding of the mail body (MIME) that your code needs to create.

Similar Messages

  • When trying to send a mail, selecting attachement fails with no error.

    I imported lots of folders form Kmail (KDE3.5/ trinity) on a previous version (don't remember which one) of Thunderbird.
    All worked fine. (I was able to send a variaty of files in email attachements (.xls, .zip, .txt and also files with no extension with no trouble)
    Somewhen two weeks ago I updated Thunderbird and it would not allow me to attach files to a mail I want to send.
    This means: --click on the button to send a new mail.
    --typing a email adress
    --typing a subject
    --typing 'hello' into the text field
    --clicking the button to attach a file
    --selecting a text file, picture, .zip, binary and click 'open' in the file selector
    == nothing changes in the email window to show that a file has been attached and also on sending the mail the receiver does not receive a mail.
    reverting to older version of thunderbird does not seem possible as it appears that there is no link to older packages on thunderbird downlaod site?
    where did I go wrong?

    I doubt it's a version problem. But I don't run Linux any more.
    Old versions can be found here:
    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/

  • Sending a mail from Orale APEX with File Attachments

    Hi All,
    I want one solution, i need to send a mail from my application with HTMLDB_MAIL.SEND package and i need to know wheather we can send a mail with file attachments in APEX,if it is possible then how can i send,Can any body please help me with this.
    Thanks

    dil84 wrote:
    Hi All,
    I want one solution, i need to send a mail from my application with HTMLDB_MAIL.SEND package and i need to know wheather we can send a mail with file attachments in APEX,if it is possible then how can i send,Can any body please help me with this.
    ThanksEmail attachments arrived with Apex version 3.1.

  • I have pdf file with content along with background picture ... I want to convert the same pdf to .ep

    i have pdf file with content along with background picture ... I want to convert the same pdf to .epub how can i???

    If you're using Fluid Grid Layouts, none of these methods will work.  I think the very best you can do is determine the min-height required for desktops & tablets.  Mobile devices don't need min-height because those divisions will stack on top of each other.
    To illustrate with a working example,
    http://alt-web.com/FluidGrid/Fluid2.html
    The relevant CSS code:
    /* Special Rules for Tablets */
    @media only screen and (min-width: 481px) {
    .gridContainer >div {min-height: 255px;}
    /* Special Rules for Desktops */
    @media only screen and (min-width: 1025px) {
    .gridContainer >div {min-height: 325px;}
    Nancy O.

  • How to send a mail to the user with attachement

    Hi Experts,
    I have a requirement where user needs to get the automatic mail which has the updated information sheet as the attachement.
    Kindly give me a clue on this.
    if any body has model program for this...kidnly send it to [email protected]
    Thanks in Advance,
    Aiswarya

    HI
    good
    go throug this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/38/71f865c2c9a94ab1dce95792187c16/content.htm
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    go through this report=>
    : Report  ZSAPTALK                                                   :
    : Author  SAPdev.co.uk                                               :
    : Description :                                                      :
    : Send mail message to SAP mail inbox.                               :
    :                     Please visit www.sapdev.co.uk for further info :
    REPORT ZSAPMAIL NO STANDARD PAGE HEADING.
    TABLES: DRAD,
            QINF,
            DRAW,
            SOUC,
            SOFD,
            DRAP.
    DATA: P_RETURN_CODE LIKE SY-SUBRC.
    data: d_username LIKE DRAP-PRNAM.
    mail declarations
    DATA : BEGIN OF NEW_OBJECT_ID.         " the newly created email object
            INCLUDE STRUCTURE SOODK.
    DATA : END OF NEW_OBJECT_ID.
    DATA : BEGIN OF FOLDER_ID.             " the folder id of the outbox
            INCLUDE STRUCTURE SOODK.
    DATA : END OF FOLDER_ID.
    DATA : BEGIN OF REC_TAB OCCURS 5.     " the table which will contain the
            INCLUDE STRUCTURE SOOS1.       " information on the destination
    DATA : END OF REC_TAB.
    DATA : BEGIN OF OBJECT_HD_CHANGE.      " the table which contains the
            INCLUDE STRUCTURE SOOD1.       " info for the object we will be
    DATA : END OF OBJECT_HD_CHANGE.        " creating
    DATA : OBJECT_TYPE LIKE SOOD-OBJTP.    " the type of object
    DATA : BEGIN OF OBJHEAD OCCURS 5.      " the header of the object
            INCLUDE STRUCTURE SOLI.
    DATA : END OF OBJHEAD.
    DATA : BEGIN OF OBJCONT OCCURS 0.      " the contents of the object
            INCLUDE STRUCTURE SOLI.        " i.e. the text etc
    DATA : END OF OBJCONT.
    DATA : BEGIN OF OBJPARA OCCURS 5.      " formatting options
            INCLUDE STRUCTURE SELC.
    DATA : END OF OBJPARA.
    DATA : BEGIN OF OBJPARB OCCURS 5.      " formatting options
            INCLUDE STRUCTURE SOOP1.
    DATA : END OF OBJPARB.
    DATA : BEGIN OF T_MAIL_TEXT OCCURS 0,  "Message table for messages to
            STRING(255),                   "user via mailbox
           END OF T_MAIL_TEXT.
    Parameter: p_uname like sy-uname.
    **START-OF-SELECTION
    START-OF-SELECTION.
        d_username = p_uname.
        PERFORM POPULATE_EMAIL_TEXT.
        PERFORM SETUP_TRX_AND_RTX_MAILBOXES USING P_RETURN_CODE.
        PERFORM CREATE_AND_SEND_MAIL_OBJECT.
          FORM POPULATE_EMAIL_TEXT                                      *
          Inserts text for email message                                *
    FORM POPULATE_EMAIL_TEXT.
      CLEAR T_MAIL_TEXT-STRING.            "puts a blank line in
      APPEND T_MAIL_TEXT.
      APPEND T_MAIL_TEXT.
    adds failed list  on to end of success list.
      T_MAIL_TEXT-STRING = 'Test email message line 1'.
      APPEND T_MAIL_TEXT.
      T_MAIL_TEXT-STRING = 'Test email message line 1'.
      APPEND T_MAIL_TEXT.
      CLEAR T_MAIL_TEXT-STRING.            "puts a blank line in
      APPEND T_MAIL_TEXT.
      T_MAIL_TEXT-STRING = 'Header1    Header2    Header3'.
      APPEND T_MAIL_TEXT.
      T_MAIL_TEXT-STRING = '----
      APPEND T_MAIL_TEXT.
    ENDFORM.
    *&      Form  SETUP_TRX_&_RTX_MAILBOXES
      Ensure that the mailboxes of the sender (INTMGR) are set up OK
    FORM SETUP_TRX_AND_RTX_MAILBOXES USING P_RETURN_CODE.
    get the user no of the sender in order to add the mail to the
    user name's outbox for future reference
      SELECT SINGLE * FROM SOUC
               WHERE SAPNAM = SY-UNAME.    "SAP name of a SAPoffice user
      IF SY-SUBRC NE 0.
        "Error finding the SAPoffice user info for the user
        MESSAGE E064(ZR53) WITH SY-UNAME.
        P_RETURN_CODE = 1.
        EXIT.
      ENDIF.
    *Get the outbox No for the sender from the user No where the folder
                                           " type is an outbox
      SELECT * FROM SOFD WHERE OWNTP = SOUC-USRTP   "Owner type from ID
                           AND OWNYR = SOUC-USRYR   "Owner year from the ID
                           AND OWNNO = SOUC-USRNO   "Owner number from the I
                           AND FOLRG = 'O'."Output box
      ENDSELECT.
      IF SY-SUBRC NE 0.
        " Error getting folder information for the user
        MESSAGE E065(ZR53) WITH SY-UNAME.
        P_RETURN_CODE = 1.
        EXIT.
      ENDIF.
    ENDFORM.                               " SETUP_TRX_&_RTX_MAILBOXES
    *&      Form  CREATE_AND_SEND_MAIL_OBJECT
    FORM CREATE_AND_SEND_MAIL_OBJECT.
      FOLDER_ID-OBJTP = SOFD-FOLTP.        " the folder type ( usually FOL )
      FOLDER_ID-OBJYR = SOFD-FOLYR.        " the folder year ( usually 22 )
      FOLDER_ID-OBJNO = SOFD-FOLNO.        " the folder no.
      OBJECT_TYPE     = 'RAW'.             " the type of object being added
    build up the object information for creating the object
      OBJECT_HD_CHANGE-OBJLA  = SY-LANGU.  " the language of the email
      OBJECT_HD_CHANGE-OBJNAM = 'PS to DM Interface'. " the object name
    mail subject 'Mass Linking of QA, pass/fail'
      MOVE TEXT-002 TO OBJECT_HD_CHANGE-OBJDES.
      OBJECT_HD_CHANGE-DLDAT = SY-DATUM.   " the date of the email
      OBJECT_HD_CHANGE-DLTIM = SY-UZEIT.   " the time of the email
      OBJECT_HD_CHANGE-OBJPRI = '1'.       " the priority ( highest )
      OBJECT_HD_CHANGE-OBJSNS = 'F'.       " the object sensitivity
    F is functional, C - company sensitive
    object_hd_change-skips  = ' '.       " Skip first screen
    object_hd_change-acnam  = 'SM35'.    " Batch imput transaction
    object_hd_change-vmtyp  = 'T'.       " Transaction type
    add the text lines into the contents of the email
      CLEAR OBJCONT.
      REFRESH OBJCONT.
    free objcont.      " added this to delete the mail contents records
      LOOP AT T_MAIL_TEXT.
        OBJCONT-LINE = T_MAIL_TEXT-STRING.
        APPEND OBJCONT.
      ENDLOOP.
      CLEAR OBJCONT.
    build up the table of receivers for the email
      REC_TAB-RCDAT = SY-DATUM.            " the date to send the email
      REC_TAB-RCTIM = SY-UZEIT.            " the time to send the email
    the SAP username of the person who will receive the email
      REC_TAB-RECNAM = D_USERNAME.
    the user type of the person who will send the email ( USR )
      REC_TAB-SNDTP = SOUC-USRTP.
    the user year of the person who will send the email ( 22 )
      REC_TAB-SNDYR = SOUC-USRYR.
    the user number of the person who will send the email
      REC_TAB-SNDNO = SOUC-USRNO.
    the sap username of the person who will send the email
      REC_TAB-SNDNAM = SY-UNAME.
    get the user info for the receiver of the document
      SELECT SINGLE * FROM SOUC WHERE SAPNAM = D_USERNAME.
      IF SY-SUBRC NE 0.
        WRITE : / TEXT-001, D_USERNAME.    "usnam.
        EXIT.
      ENDIF.
    the user number of the person who will receive the email ( USR )
      REC_TAB-RECNO = SOUC-USRNO.
    the user type of the person who will receive the email ( USR )
      REC_TAB-RECTP = SOUC-USRTP.
    the user year of the person who will receive the email ( USR )
      REC_TAB-RECYR = SOUC-USRYR.
    the priority of the email ( highest )
      REC_TAB-SNDPRI = '1'.
    check for delivery on the email
      REC_TAB-DELIVER = 'X'.
    send express so recipient knows there is a problem
      REC_TAB-SNDEX = 'X'.
    check for a return receipt
      REC_TAB-READ = 'X'.
    the sap username of the person receiving the email
      REC_TAB-ADR_NAME = D_USERNAME.       "usnam.
    add this receiver to the internal table
      APPEND REC_TAB.
      CLEAR REC_TAB.
    call the function to create the object in the outbox of the sender
      CALL FUNCTION 'SO_OBJECT_INSERT'
           EXPORTING
                FOLDER_ID                  = FOLDER_ID
                OBJECT_HD_CHANGE           = OBJECT_HD_CHANGE
                OBJECT_TYPE                = OBJECT_TYPE
                OWNER                      = SY-UNAME
           IMPORTING
                OBJECT_ID                  = NEW_OBJECT_ID
           TABLES
                OBJCONT                    = OBJCONT
                OBJHEAD                    = OBJHEAD
                OBJPARA                    = OBJPARA
                OBJPARB                    = OBJPARB
           EXCEPTIONS
                ACTIVE_USER_NOT_EXIST      = 1
                COMMUNICATION_FAILURE      = 2
                COMPONENT_NOT_AVAILABLE    = 3
                DL_NAME_EXIST              = 4
                FOLDER_NOT_EXIST           = 5
                FOLDER_NO_AUTHORIZATION    = 6
                OBJECT_TYPE_NOT_EXIST      = 7
                OPERATION_NO_AUTHORIZATION = 8
                OWNER_NOT_EXIST            = 9
                PARAMETER_ERROR            = 10
                SUBSTITUTE_NOT_ACTIVE      = 11
                SUBSTITUTE_NOT_DEFINED     = 12
                SYSTEM_FAILURE             = 13
                X_ERROR                    = 14
                OTHERS                     = 15.
      IF SY-SUBRC NE 0.
        MESSAGE A063(ZR53) WITH SY-SUBRC.
        EXIT.
      ENDIF.
    call the function to send the already created email to the receivers
      CALL FUNCTION 'SO_OBJECT_SEND'
           EXPORTING
                FOLDER_ID                  = FOLDER_ID
                OBJECT_ID                  = NEW_OBJECT_ID
                OUTBOX_FLAG                = 'X'
                OWNER                      = SY-UNAME
           TABLES
                RECEIVERS                  = REC_TAB
           EXCEPTIONS
                ACTIVE_USER_NOT_EXIST      = 1
                COMMUNICATION_FAILURE      = 2
                COMPONENT_NOT_AVAILABLE    = 3
                FOLDER_NOT_EXIST           = 4
                FOLDER_NO_AUTHORIZATION    = 5
                FORWARDER_NOT_EXIST        = 6
                NOTE_NOT_EXIST             = 7
                OBJECT_NOT_EXIST           = 8
                OBJECT_NOT_SENT            = 9
                OBJECT_NO_AUTHORIZATION    = 10
                OBJECT_TYPE_NOT_EXIST      = 11
                OPERATION_NO_AUTHORIZATION = 12
                OWNER_NOT_EXIST            = 13
                PARAMETER_ERROR            = 14
                SUBSTITUTE_NOT_ACTIVE      = 15
                SUBSTITUTE_NOT_DEFINED     = 16
                SYSTEM_FAILURE             = 17
                TOO_MUCH_RECEIVERS         = 18
                USER_NOT_EXIST             = 19
                X_ERROR                    = 20
                OTHERS                     = 21.
      IF SY-SUBRC EQ 0.
        MESSAGE I035(ZR53) WITH NEW_OBJECT_ID D_USERNAME. "usnam.
      ELSE.
        MESSAGE I036(ZR53) WITH D_USERNAME."      sy-subrc.
      ENDIF.
    ENDFORM.                               " CREATE_AND_SEND_MAIL_OBJECT
    thanks
    mrutyun

  • Send e-mail in HTML-format with attachment

    Does function SO_OBJECT_SEND allow to send e-mail with attachment?
    Does function SO_DOCUMENT_SEND_API1 allow to send e-mail in HTML format?

    Hi SS
    See if you can understand this sample program
    PARAMETERS: po_email TYPE AD_SMTPADR LOWER CASE.
    DATA: li_objcont TYPE STANDARD TABLE OF solisti1,
    li_reclist TYPE STANDARD TABLE OF somlreci1,
    li_objpack TYPE STANDARD TABLE OF sopcklsti1,
    li_objhead TYPE STANDARD TABLE OF solisti1,
    li_content TYPE STANDARD TABLE OF solisti1,
    lwa_objcont TYPE solisti1,
    lwa_reclist TYPE somlreci1,
    lwa_objpack TYPE sopcklsti1,
    lwa_objhead TYPE solisti1,
    lwa_content TYPE solisti1,
    lwa_doc TYPE sodocchgi1,
    l_lines TYPE i.
    REFRESH: li_objcont[], li_reclist[],
    li_objpack[], li_objhead[],
    li_content[].
    CLEAR: lwa_objcont, lwa_reclist,
    lwa_objpack, lwa_objhead,
    lwa_content, lwa_doc.
    MOVE '<body>' TO lwa_objcont.
    APPEND lwa_objcont TO li_objcont.
    MOVE '<p>' TO lwa_objcont.
    APPEND lwa_objcont TO li_objcont.
    MOVE 'This is a sample HTML content from test program' TO lwa_objcont.
    APPEND lwa_objcont TO li_objcont.
    MOVE '</p>' TO lwa_objcont.
    APPEND lwa_objcont TO li_objcont.
    MOVE '</body>' TO lwa_objcont.
    APPEND lwa_objcont TO li_objcont.
    lwa_reclist-receiver = po_email.
    lwa_reclist-rec_type = 'U'.
    APPEND lwa_reclist TO li_reclist.
    lwa_objhead = 'test.htm'.
    APPEND lwa_objhead TO li_objhead.
    lwa_content = 'Please find attached document for more details'.
    APPEND lwa_content TO li_content.
    CLEAR l_lines.
    DESCRIBE TABLE li_content LINES l_lines.
    READ TABLE li_content INTO lwa_content INDEX l_lines.
    lwa_doc-doc_size = ( l_lines - 1 ) * 255 + STRLEN( lwa_content ).
    lwa_doc-obj_langu = 'E'.
    lwa_doc-obj_name = 'Test HTML file'.
    lwa_doc-obj_descr = 'Test HTML file'.
    CLEAR lwa_objpack-transf_bin.
    lwa_objpack-head_start = 1.
    lwa_objpack-head_num = 0.
    lwa_objpack-body_start = 1.
    lwa_objpack-body_num = l_lines.
    lwa_objpack-doc_type = 'RAW'.
    APPEND lwa_objpack TO li_objpack.
    CLEAR: lwa_objpack, l_lines.
    DESCRIBE TABLE li_objcont LINES l_lines.
    READ TABLE li_objcont INTO lwa_objcont INDEX l_lines.
    lwa_objpack-doc_size = ( l_lines - 1 ) * 255 + STRLEN( lwa_objcont ).
    lwa_objpack-transf_bin = 'X'.
    lwa_objpack-head_start = 1.
    lwa_objpack-head_num = 0.
    lwa_objpack-body_start = 1.
    lwa_objpack-body_num = l_lines.
    lwa_objpack-doc_type = 'HTM' .
    lwa_objpack-obj_name = 'Test HTML file'.
    lwa_objpack-obj_descr = 'Test HTML file'.
    APPEND lwa_objpack TO li_objpack.
    *Sending the mail
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = lwa_doc
    put_in_outbox = 'X'
    TABLES
    packing_list = li_objpack
    object_header = li_objhead
    contents_bin = li_objcont
    contents_txt = li_content
    receivers = li_reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    operation_no_authorization = 4
    OTHERS = 99.
    IF sy-subrc NE 0.
    WRITE:/ 'Document sending failed'.
    ELSE.
    WRITE:/ 'Document successfully sent'.
    COMMIT WORK.
    ENDIF.
    This should give you all you need to know to send an HTML file.
    Thanks buddy

  • Create a script to send as an pdf attachment alogn with logo

    Hi,
    I am create a script program.how to send mail attachment with pdf fomat along with logo.
    can anybody helpme out.
    Thanks,
    Prathap.

    Hi,
    Check this,
    1.https://forums.sdn.sap.com/click.jspa?searchID=1447284&messageID=2875686
    2.Script- converting in PDF and sending by mail.
    Reward if useful!

  • Send SAP-Mail by external app with SAP Mail-Interface

    Hi!
    I need to send a SAP Mail from a third party application. I found a way to send a mail without interface using functions like "so_new_document_att_send_api1" or "so_object_send". But what I need is a function which shows a SAPGui with an interface like in SO01 where the user can change the subject or the message and of course I need to initialize some fields like subject and I need to add an attachment (SAP BO -> a document).
    Thanks for any answer,
    Konrad

    Hi!
    I need to send a SAP Mail from a third party application. I found a way to send a mail without interface using functions like "so_new_document_att_send_api1" or "so_object_send". But what I need is a function which shows a SAPGui with an interface like in SO01 where the user can change the subject or the message and of course I need to initialize some fields like subject and I need to add an attachment (SAP BO -> a document).
    Thanks for any answer,
    Konrad

  • Problem sending a mail to many adresses with attachments (Javamail, JSP)

    Hi,
    i got a problem with JavaMail trying to send a mail to different email-adresses in a JSP. The mail should be send to about 27 adresses, which works fine whenever i send it without any attachments. As soon as i attach a file, the mail still gets send without an error, but only to about 12 adresses instead of the intended 27. I get the adresses out of a database and in either case, there ist the correct amount of adresses. The Mailserver doesnt report anything - it sends the mails without any problem at the 12 adresses.
    Here is the part of the code, thats sending:
    Properties props = new Properties();
    props.put("mail.smtp.host", "192.168.1.1 ");
    Session s;
    MimeMessage message;
    InternetAddress from = new InternetAddress("[email protected]");
    InternetAddress to;
    s = Session.getInstance(props,null);
    Transport trans=s.getTransport("smtp");
    //get adresses from db
    while (rspartner.next())
         to = new InternetAddress(rspartner.getString("postfach"));
         message.addRecipient(Message.RecipientType.TO, to);
         empfaengerzeile=rspartner.getRow();
         //out.println(empfaengerzeile+" --- "+rspartner.getString("postfach")+"<br>");
         BodyPart messageBodyPart=new MimeBodyPart();
         messageBodyPart.setText(nachricht);
         Multipart multipart=new MimeMultipart();
         multipart.addBodyPart(messageBodyPart);
         //Dateinamen und Speicherort des Plan ermitteln
         queryAnhang=dbCon.prepareStatement("select pfad from m_baukoord_kommentar where baukoord_id=? and titel='Entwurfsplan'");
         queryAnhang.setString(1,request.getParameter("projektid"));
         rsanhang=queryAnhang.executeQuery();
         rsanhang.next();
         datei=rsanhang.getString("pfad");
         //Datei zippen
         quellpfad+= ebaukonr.trim() + "/" + datei;
         if(datei.contains("."))
              zipfilename=datei.substring(0,datei.lastIndexOf('.'))+".zip";
         else
              zipfilename=datei+".zip";
         zielpfad=config.getServletContext().getRealPath("")+"/strasse/UserDownloads/" + zipfilename;
         ZipOutputStream zipout = new ZipOutputStream(new FileOutputStream(zielpfad));
         zipout.setLevel(9);
         zipout.setMethod(ZipOutputStream.DEFLATED);
         FileInputStream in = new FileInputStream(quellpfad);
         zipout.putNextEntry(new ZipEntry(datei));
         int len;
         while ((len = in.read(buf)) > 0) {
             zipout.write(buf, 0, len);
         zipout.closeEntry();
         in.close();     
         zipout.close();
         //Datei anhaengen
         messageBodyPart = new MimeBodyPart();
         FileDataSource source = new FileDataSource(zielpfad);
         messageBodyPart.setDataHandler(new DataHandler(source));
         messageBodyPart.setFileName("Entwurfsplan.zip");
         multipart.addBodyPart(messageBodyPart);
         message.setSubject("Neues Projekt " + titel + " verfügbar");
         message.setContent(multipart);
         trans.send(message);

    With active debug i got following information:
    The first mail in the debug-log is with the source code as quoted in my first post, the second mail is when i cut out the part which generates and adds the attachement. I had to make the adresses anonymous, but the second mail contains a lot more adresses then the first, although they both use the same query with same parameters, etc.
    Have i done something wrong with the attachements? Overwriting headers, syntax errors, anything? I'm out of ideas...
    edit: Had to cut out the debug-log because it is too big. It just said that everything was working ok, but the first mail contains too few adresses and the second (without attachement) the correct number of adresses. I can mail the log, if you like.

  • How do I send/email Documents with high security and password protected

    I want to send Documents securely to my clients. What product do I need and how do I send/email with password protection? I recently purchased Adobe Send but not sure this was the right product needed to send my documents securely?

    In Acrobat you can create a Portfolio in which your documents (any types) will be placed as attachments and encrypt the whole portfolio. You can also create a small PDF, possibly with explanation what is in it, attach your files to it, and encrypt this PDF. In this case you can encrypt attachments only, so that the user can open the shell PDF but to extract the files would need to know the password.

  • Send a mail from report 6i with his function "mail...."

    I have tried to send a mail from report using "File" ---> "Mail.." Function that is avaible on report, but it send a file "*.eps" that is not readble with the normal reader.....
    It is possible to send a PDF file ???
    Thank 's .....
    il vampiro

    Hello Mike,
    In Reports Builder 6i, Just change the Initial Value of the DESFORMAT System Parameter in the Object Navigator (under Data Model) to PDF, or any other format you want to mail the report in.
    Thanks,
    The Oracle Reports Team.

  • Send a mail use FM 'so_object_send' with a Script form layout

    Hi,
    I try to send a mail use FM 'so_object_send', is it possible to use a sap script form for the layout?
    Please give more details....

    Hi,
    Did you debug and check this function module 'SO_NEW_DOCUMENT_SEND_API1' ?
    As you said its giving you a sy-subrc = 2, did you check at what stage it is giving you an error ?
    Also, Commit work = 'X' has nothing to do with this as you are getting an error of Sy-subrc = 2.
    Also, while debugging are you getting the email address fetched from database table ? If no, then the sender's email has not been maintained. You will have to maintain the sender's email in the user details in SU02 under Address tab.
    I would recommend you to go for BCS to send emails wherein you specify the sender email address directly in the program rather than adding email address in every user's logon details.
    Regards,
    Danish.
    Edited by: Danish2285 on Mar 5, 2012 3:28 PM

  • Need to trigger mail to requestor along with creator in SRM 7.0

    Hi Experts,
    We are using SRM 7.0 Extended classic scenario with process controlled Workflow in our system.
    As I am very much new to the workflow concept need your help in this regard.
    We have a requirement where we need to trigger a rejection email when Shooping cart got rejected by the approver to the requestor along with creator.
    As per our current design rejection mail is going only to creator but not requestor.
    Can somebody help me in this regard how to get this functionality.
    Thanks.
    Regards,
    Kalyani

    Hi Konstantin,
    We tried with suggested badi BBP_ALERTING BADI. But when I set the break-point in the enhancement of this badi and tried to trigger by rejecting the Shopping cart, i dont see any entries in the structure CT_RECEPIENTS[].
    Some entries should be there in CT_RECEPIENTS[] by the time this badi triggers or how to figure this out?
    Small change in my requirement is rejection mail is going successfully to requestor and we are expecting same mail to creator.
    Thanks in advance.
    Regards,
    Kalyani

  • How to do pagination with oracle along with java

    hi
    i want to know how to use pagination codes along with java.

    Are you sure that you're on the right forum? This is the forum for Berkeley DB, Java Edition, and we don't support SQL.
    Linda

  • Putting into Safe Mode with 2 accounts both password protected

    Hello, my iMac won't load only in guest mode can I use anything.. I tried to load in Safe Mode but won't. I have 2 accounts and they are both password protected. Please help!!!

    The symptom may be unrelated to FileVault 2. I encountered the symptom with FileVault 2 disabled and with backward conversion (decryption) complete.
    Apple reference for my bug report: 152162960. If the symptoms on your Mac compare to those on mine: progress may seem to cease during safe fsck.
    Vito, as you are comfortable with the nvram command, please try the following:
    sudo nvram boot-args="-v -x"
    Restart the computer and note the last verbose lines that appear before you sense that progress has ceased. Then please add a note of those lines to this topic.
    Additional questions
    What model is your Mac?
    What type of disk for the startup volume?
    How many files on that volume?
    Approximately how large are the attributes file and catalog file? (You might gain this information with a demo version of iDefrag.)
    My current envronment
    MacBookPro5,2
    8 GB memory
    startup from internal 320 GB rotational disk, Serial-ATA, Hitachi HTS723232L9SA62 (probably Travelstar 7K320)
    3,961,791 files
    495,744 folders /* not including the root folder */
    catalog file 3.0 GB, not fragmented
    attributes file 2.2 GB, not fragmented.
    At http://www.wuala.com/grahamperrin/public/2012/01/09/a/?mode=gallery file speedy.txt includes details of the volume.

Maybe you are looking for

  • Java won't work - possible proxy issues?

    I was informed that one of our computers suddenly (from what I was told about 2 months ago) developed problems with Java. Said computer is on our dirty internet connection, so it's not readily checked or even updated. My colleagues looked at it, and

  • Ipod Crash? PLEASE HELP

    my ipod has been acting strangely lately, randomly stopping in the middle of the song and going to the next, etc. Now all of a sudden..when i plug my ipod into the computer an autoplay box comes up, i've tried numerous times to change this setting in

  • Dicarding messages in file adapter

    Hi, I wish to process a file that has invoice data. The structure of the file is thus: $H$<<Supplier Name>>,<<Supplier Site>>,<<Invoice Number>> $D$<<Line Number>>     ,<<Business Unit>>,<<Location>>,<<Store Name>> $D$<<Line Number>>     ,<<Business

  • How do I make text in an ul shift left closer to the bullet?

    How can I make the text in a <ul> list shift to the left a little so that it is closer to the <li> bullet? I assume I should use CSS for this.

  • Preferred inspection type

    in qm view of mtrl master, there is one indicator "preferred inspection type" which is used to give precedence to the insp type for which this indicator is set over the default setting in SPRO (variant 01).this is what i know @ it. but my que is if i