Change layout of content as an attachment

I use apex_mail (in top 4.1) to send emails with an attachment.

v_mail_id: = apex_mail.send)

         p_to  => ' [email protected] '

... etc...

);

apex_mail.add_attachment (p_mail_id = > v_mail_id)

, p_attachment = > v_image

, p_filename = > 'signature.jpg '.

p_mime_type = > ' image/jpeg');

Apex it creates as an attachment:

Content-Disposition: attachment;

I would like to change to the line:

Content-Disposition: inline;

so I can reference it in my body of the email with < img src = "cid:signature.jpg" / >. Well... I hope it's in any case shown inline if I change layout of content.

Currently (with Content-Disposition: attachment ;) it works with Outlook, but, for example, not in Gmail in the browser.) Gmail displays the image separately as an attachment.

Is there a way to change the layout of content with Apex?

I know it is possible to do with utl_mail, but this is not currently installed in our databases. I need to involve our DBA to set this up, and I don't know if he's ready to do.

Hi InoL,

I'm sorry to say, but there is no way for you to control the Content-Disposition of an attachment added through APEX_MAIL. ADD_ATTACHMENT.  The infrastructure is there in the API to support it, maybe in a future update or release APEX, but I realize that doesn't help you today.

I'm sorry.

Joel

Tags: Database

Similar Questions

  • Change the default content of an email that is attached a .pdf form

    Hello

    I created a pdf form with a button down that sends the completed form to an email address. My action fits on the pdf together form an email and opens the e-mail to the correct email address, however, I want to edit the content that appears in the generated email recently. For now, it is contained by default I want to replace highlighted in yellow (view photo)

    pdf_help.PNG

    Is this possible?

    You can use a script like this:

    this.mailDoc ({cTo: "[email protected]", bassujetti: "custom subject line", CMSG: "Custom message text" "});

  • How to change the file content.opf to an EPUB FXL?

    I export a fixed provision epub and I can't find out where is the content.opf file and how to edit.  I'm doing the same thing that was made here: Indesign CC 2014 export fixed page layout

    Can someone point me in the right direction? I googled without end!

    Thank you

    Please follow these steps to change your EPUB:

    1. download Sigil https://code.google.com/p/sigil/downloads/list

    2. open your EPUB in this editor.

    3. in the view of the notebook on the left-hand Navigator, search for content.opf file. Edit this file and save your EPUB.

    Kind regards

    POOJA

    InDesign engineering

  • When I receive messages with attachments, the content of the attachment also highlighted in the body of the text. Anyway to prevent this? THX

    Example, file excel shows as an attachment and can be opened as an attachment, but the contents of the excel file is also included in the body of the email. Same thing happens with JPEG files. THX

    On the view menu, go to Display Inline Attachments and uncheck this option.

  • Directions to change tools, Options, content, fonts and colors do not change the police in the Start Page Google search box. Solution, please?

    Hello "it takes a community."
    I'm new to Mozilla Firefox, which seems more to a wall climbing of a learning curve. But I like it much better than the Google home page.

    • I use a Toshiba laptop and a Windows 7 system.
    • Mozilla Firefox start page has a Google search box in the middle of the page. The police in and around the box looks like a 4. Whatever it is, I can't see the words easily.
    • Click on the drop-down tools, click Options, click the content changed police 12 and clicked on OK. The police has not changed on the start page.
    • I went to the option advanced and not clicked the box to allow Web sites to use their own fonts, but that did not help at all.
    • Then, looked everywhere in the Google support site, but I couldn't find a solution.

    Perhaps using the word "police" in my research is my problem! I looked for a solution for well over an hour.

    Help, please! If things continue to go, I'm going to need an anti-depressant.

    Best regards and thanks for your suggestions.

    Gael Reedy
    [email protected]

    Reset the page zoom on pages that cause problems: view > Zoom > reset (Ctrl + 0 (zero); Cmd + 0 on Mac)

  • Change Layout

    Hi all

    I had the following code for the page layout.

    protected void sublayout(int width,int height)
    {
       layoutChild(labelname, getPreferredWidth(), getPreferredHeight());
       setPositionChild(labelname,SizeSpec.setX20, SizeSpec.setY20);
       super.setExtent(width,height);
    }
    

    If I want to change the position,

    How can I change the setpositionchild during execution.

    Any help would be appreciated.

    Thank you

    Stephenson

    change the x and the values y and call updateLayout

  • Menu change Oracle webcenter content profile

    Hi all

    We have a requirement of the company to change the appearance of the profiles of WCC. I have attached the screenshot for your reference. We have only one profile - abcd * user Document.Whenever is mouse hovering this profile, it should open up Global and Local options as shown in the screenshot. When the user selects the submenu, the value of a metadata field say changes color. These metadata 'Color' should have global value if 'Global' is selected. If the user selects another option that is 'Local', color metadata will provide the list of values other than GLOBAL.

    Any pointer how it can be done will be useful for me. Thanks in advance.

    Post edited by: 2742983

    Solution - it's changing the IDOC files. The following steps are

    (1) find the template for the page to a new change.

    (2) get the model to the MW_Home\Oracle_ECM1\ucm\idc\resources\core\templates and spin the model using notepad ++.

    Get 3) appropriate inclusion and find the definition to include it on the record of the IDOC. MW_Home\Oracle_ECM1\ucm\idc\resources\core\idoc, most of the IDOC are written in std_nav.idoc and std_page.idoc.

    (4) to change the menu and submenu - we need to change CoreMenuItems and CoreMenuItemRelationships.

    (5) we must respect the model columns and change to the desired result.

  • Press the button to change the text content

    Is there an easy way to get a button to change the content of a text field?

    A bit like this:

    [Press]

    "To get this text."

    If it's anything... I wish the different buttons to change the same text field for different numbers (in this case).

    So it would be "what do you speak?", then a couple of buttons with alternatives. When you press a button, it will display a phone number to call, and if you press another button it will display a different number of phone etc etc...

    This is possible? Thank you!

    This can be done using a widget of composition. Use two triggers and targets. The target contains the phone numbers. You need fill the background so that they are able to be placed on top of the other. Create buttons in the triggers. See the image below:

    David

    Creative muse

  • Problem of change layout and creation of a toolbar

    Hello


    I am a beginner, and I have 2 problems:

    (1) I have created a form to manage a db table. I chose a model, and everything is ok. My problem is to create a layout with a color of a particular field, a particular background color, a height of the line, a given height of the field, without borders, etc. Possible to do quite simply the apex, without CSS etc?


    (2) how to replace the button of the area with a toolbar containing all my custom buttons?

    TEMAMIV wrote:

    (1) I put this string in each attribute of the field element:

    style = "border-left: none;" border-right: none; border-top: none; border-bottom: none; background-color: blue; Padding: none; text-transform: uppercase; margin: none;  height: 12px; "border-collapse: collapse".

    but I have no idea how do I change the height of each row in my grid. I always have spaces around my fields.

    That means that you had a lot of wasted effort and still not met all the requirements. As above: "it's much simpler, more efficient and easy to manage to do it using a separate stylesheet. If you had used the time taken to make these changes to reproduce the problem in an example on apex.oracle.com and create a clear description of the requirements when you posted the question then you would have got a complete solution in a few hours or less.

    You cannot change the row height by using inline styles in the report attributes. This requires a built-in or external style sheet. These style properties also look like they will result in form controls that are largely unrecognisable and unreadable. You please explain in detail, exactly what you're trying to do and why you need to do.

  • How do specify/Associate a layout with content

    I created a new site, I created some content and a few models. Creating content/page I found no option to associate a model or a page layout with the content page. When I try to preview the content or try opening in web mode, I get the following error.

    "A provision of the content must be specified to restore this asset in web mode. Please specify a default page layout. »

    Need to help me solve this problem.

    The model that you want to use, is the use of the value, model serves as a page layout?

  • How to change display name content in the assignments Panel?

    It sounds like such a simple question, but I've been googling and searching forums 30 minutes now with no luck.  So I was wondering if it is even possible at all.

    How can we change the name of the content in the assignments Panel?  The names given here seem random and our publishers are complaining.  I saw in other proper names beautiful screenshots and tutorials for the stories, but I was not able to understand.  How to change the name of what I've highlighted in the screenshot below?

    Thank you and sorry for what seems like such a basic question but my creators don't know and me (technical support) are waiting to understand for them.

    3-18-2014 9-14-30 AM.png

    Kind regards

    -Aaron

    First check the content. Then simply click on the name of the story.

    Keep in mind that you only change the name in the Panel, not the name of the actual file BCTI.

  • How to change layout from right to left?

    I recently had a project to do an English version of a Japanese Magazine. I already got a paper copy as well as all the files of the video image. The thing is, Japanese layout from the right and even begin to right page numbers. I checked the forums and all resources possible, but could not find a way to change to the (left hand normal English presentation) layout.


    And another thing, I noticed that if I open the indesign file Japanese first and then open a new document, new document is also right - hand document layout. for example, I received a Japanese document of page number 4-14 (5 out of 6 on the right as well to suite, 7 left and right, 4 left), and if I open a new document, it is also numbered as one Japanese. But if I close the Japanese document and open a new document in the first place, it is regarded as normal (4 of 5 from left to right, 6 out of 7 left to right so now) so I guess that's something be done on preferences.


    Any suggestions?

    BTW, I use Indesign on Mac OS X 10.7.4 CS6

    Yes. It allows the switch binding direction (like the non pro version).

    However, if all that you need to get the link of the page, you can do it with a simple script.

    This script to a single line will pass the page link in your current document:

    app.documents[0].documentPreferences.pageBinding = app.documents[0].documentPreferences.pageBinding == PageBindingOptions.LEFT_TO_RIGHT ? PageBindingOptions.RIGHT_TO_LEFT : PageBindingOptions.LEFT_TO_RIGHT;
    

    Substances

    en - Tools.com

  • Change of HTML content with a persistent Navigation SWF (always busy)

    I need to develop a site with navigation SWF file that modifies the contents of an HTML page, WITHOUT reloading itself and lose its current state.

    Is what I think I should do to have smooth transitions of keep the swf file loaded, while having, it changes the contents of the page below it.

    I have complex to include in pages html content that is not supported by the tags available in the dynamic Flash text boxes. I looked at the idea of iframes, but I don't know how to load iframes using flash, or how to use it without refreshing the page.

    Any help is appreciated, thanks!

    iframes would be the easiest option.  you target the framework with the 2nd parameter to the getURL() function.

  • Style div inside a packaging change / editable main content

    Hi all

    I'm changing the CSS styles to a DIV within a wrapper and the editable region. I'm changing the width of the box and placement (right), but I get the error message saying something like that will change the model locked and is therefore impossible. My html code looks like this:

    < div id = "wrapperfp" >
    < div id = "newsfp" > content ID "newsfp" goes here < / div >
    < div id = "clickablemap" >
    < h2 > < strong > new interactive map: facilities > < / h2 >
    < p > try it as part of the planning of your trip to Colombia! "< a href =" interactivemaps/index.html"> < img src="images/maps/colmap200x219.jpg "width ="200"height ="219"alt ="map"/ > < /a > < /p >
    < / div >
    < / div >

    Web page: www.competenciagroup.com

    I would like to place the "newsfp" to the right if "clickablemap" and the width of the box 200 px. Why is it not possible?

    Best regards

    Ivan

    Ivan, I see not warned from time to time; someone here has explained (don't remember the explanation), but I usually blow right in front of it and the page break. If you make your CSS changes in your style sheet, you should be fine, in my opinion.

    Try changing your left: auto; to float: left; in the style of your #clickablemap. Your adjacent copy must then sit to the right and sink next to the map.

    {#clickablemap}

    Width: 100%;

    height: 329px;

    }

    #clickablemap img {}

    border: thin solid #FF6633;

    float: left;

    margin-right: 10px;  / * text of the space of the image.

    position: relative;

    top: 0;

    Width: 200px;

    z-index: 1;

    }

    You might want to take the picture in the middle of the paragraph, too... the Insert at the beginning of the paragraph (the or the

    the head, if you want that he lines up next to the

    .

    I made a new style that affects only the image and allows it to float.

    See where it gets you...

    Beth

  • Change layout (make-up) of web application

    Hello! It is. Can I completely change makeup Oracle BIEE Home page? For example to integrate twitter bootstrap. As the creation of models in CMS (Wordpress, Drupal). Like this: Oracle BI Bootstrap

    I can let you know a little

    You must register \FMW\Oracle_BI1\bifoundation\web\msgdb\pages

    Once you have done this, appreciate if you share your notes.

    Thank you

    ~ http://cool-bi.com

Maybe you are looking for