put body image into APEX_MAIL. Send

All,

I use APEX_MAIL. SEND to send emails and I want the background image for the body to is also reflected in the emails sent so ive something like that.

v_body_html: =.

' < html >

< head >

< style >

body

{

background: #ffffff url ("bgimage.png") no-repeat top right;

margin-right: 200px;

}

< / style >

< / head >

< body >

< h1 > Hello World! < / h1 >

< p > now the background image appears only once, and she is also positioned away from the text. < /p >

< p > in this example, we have also added a margin on the right, so that the background image does not disturb the text. < /p >

< / body >

< / html > ';

APEX_MAIL. SEND)

P_TO = > v_recipient,

P_FROM = > sender variable,.

P_CC = > variable cc,.

P_BCC = > ",

P_BODY = > 'body text here. "

P_SUBJ = > 'my email notification. "

P_BODY_HTML = > v_body_html);

so, how to transmit this bg image in the email?

Thank you

Gor, you'll have huge problems with e-mail.

(1), multiple clients and their lack of support for a large NUMBER of features.  On the presentation as fact of Tim (WORLD KScope13 presentation |) W.P. Hill Tech) does a great job talking about it.

(2) emails won't 'run' from a browser as Web pages. They run inside the client and they are NOT connected to the sender.  Send you images with email or a link to a web server that has them.

Then, when you do something like this:

background: #ffffff url ("bgimage.png") no-repeat top right;

You really should do:

background: url #ffffff ("http://somewebsite/bgimage.png") top right non-repetition;

Also... the CSS syntax will have serious questions about some e-mail clients.  (see #1 above) they are simply not supported a lot of time.

Sending emails is a BIG pain.

Thank you

-Jorge

http://rimblas.com/blog/

Tags: Database

Similar Questions

  • [JS - CS5.5] how to put an image into a rectangle by its name?

    Hello

    I try to place an image into a rectangle of name...

    myDoc var = app.activeDocument;

    var myGraphicFile = File("/data/image.jpg");

    This code work

    myDoc.rectangles.item (0) .place (myGraphicFile);

    or

    IMG = myDoc.rectangles.item var (0) concerned (new leader (myGraphicFile));

    This code does not work

    myDoc.rectangles.item("Rec1").place (myGraphicFile);

    or

    var IMG = myDoc.rectangles.item("Rec1").place (new File (myGraphicFile));

    You have an idea?

    Thank you

    Here's the function I use in CS5 +:

    var myRec = GetItemFromCollection("Rec1", myDoc.rectangles);
    
    function GetItemFromCollection(label, collection) {
        for (var i = 0; i < collection.length; i++) {
            if (label == collection[i].label) return collection[i];
        }
        return null;
    }
    
  • "Apex_Mail.Send" with the body table

    Hello

    I would use the APEX_MAIL. SEND and fill the body with a table.

    Something like this:
    declare
    begin
    
    APEX_MAIL.SEND(
    
      p_to =>'my_test@just_debugging.com',
      p_from=>'my_test@just_debugging.com',
     
      p_body=>  chr(10)||
      APEX_UTIL.TABLE_TO_STRING(my_Table, ',') || chr(10)  || -- <- This does NOT work
      TO_CHAR(Select * from My_Table),  -- <- This does NOT work
      
    
      p_subj=>'My Subject');
     
    -- push the e-mail queue for immediate delivery
    wwv_flow_mail.push_queue(
    P_SMTP_HOSTNAME => 'ip',
    P_SMTP_PORTNO => 'port');
    
    end;
    Does anyone know how to do this?

    Sorry...

    DECLARE
       p_vc_arr2   htmldb_application_global.vc_arr2;
       p_string    VARCHAR2 (2000);
    BEGIN
    
    SELECT ename
       BULK COLLECT INTO p_vc_arr2
         FROM emp
        WHERE deptno = :p84_select_deptno; -- Or remove condition.
    
       p_string :=
         HTMLDB_UTIL.table_to_string (p_vc_arr2, ':');
    
    APEX_MAIL.SEND(
    
      p_to =>'my_test@just_debugging.com',
      p_from=>'my_test@just_debugging.com',
    
      p_body=>  p_string
    
      p_subj=>'My Subject');
    
    -- push the e-mail queue for immediate delivery
    wwv_flow_mail.push_queue(
    P_SMTP_HOSTNAME => 'ip',
    P_SMTP_PORTNO => 'port');
    
    end;
    

    In http://apex.oracle.com/pls/otn/f?p=31517:84:2900701551472314

    It should be something like this...

  • How can I put two images in an image in movie maker?

    How can I put two images in a frame in moviemaker. I know they must be smaller then, how I can do it too?

    How can I put two images in a frame in moviemaker. I know they must be smaller then, how I can do it too?

    =========================================
    Try to join the pictures before you import them into Movie Maker.

    The free software IrfanView can attach photos edge to edge vertically or
    horizontally.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    IrfanView
    http://www.TechSpot.com/downloads/299-IrfanView.html
    (the name of the file is: iview427_setup.exe)

    IrfanView plugins
    http://www.TechSpot.com/downloads/472-IrfanView-plugins.html
    (the name of the file is: irfanview_plugins_427_setup.exe)

    Once you have downloaded IrfanView and
    installed... Open the program and go to...

    ... Image / create the Image of the Panorama...

    Make your choice and click on the button create an Image.

    When you see the combined images displayed
    in the display... go to... File / save as...

    Choose a location...

    Choose a format...

    Give the file a new name...

    Click on... Save...

    Also, the following links may offer a few ideas:

    ShaderTFX
    http://www.rehanfx.org/shader.htm

    Pixelan
    http://Pixelan.com/mm/intro.htm

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Paste an image into a layer mask does not work even after several approaches

    I can't paste an image into a layer mask. I tried to keep 'option' by clicking on the layer mask (to activate the white), then "Control + V" to paste the image but it still places the image in a new layer. I tried to paste through the Palette layers without success (pasta in a new layer). I tried to use past special from the Edit menu, but the past command is grayed out. Any ideas for why it does not work for me?

    I tried to keep 'option' by clicking on the layer mask (to activate the white), then "Control + V" to paste the image

    Did you select > all and edit > copy the image you want to put in the mask?

  • How can I insert image into the image in adobe first pro cc 2015

    How can I insert image into the image in adobe first pro cc 2015. I want to put a fixed image on a video sequence as a pip.

    1 import the photo into your project (CTL-I or just drag & drop in the project Panel)

    2 dag photo imported on your timeline in a track located above the video you already have.

    3. click the clip of the photo in the timeline panel and then click on the control panel of the effect of the Source Panel tab.

    4. here you can resize, move, and even rotate the picture of the "query" fixed effect.  You can use the sliders or click on the area next to the word "Query" and use your mouse to do everything from the program Panel.

    Good luck and have fun.  BTW: once you get it you like, you can even animate the PIP to fly in or any other movement, you can think of with keyframes.

  • APEX_MAIL send results in an HTML table

    Apex 3.2

    I've written a procedure that sends an email with the data of the apex_workspace_activity_log.
    I would try to display that data in a table in the email.
    All the world done this before?
    CREATE OR REPLACE PACKAGE BODY EFSAPX.p_monitor_page_times AS
    
    
      procedure pr_checkelapsed(p_elapsed in number,
                                p_toemail in varchar2) is
    
        v_text clob;
    
      begin
    
        wwv_flow_api.SET_SECURITY_GROUP_ID;
        for x in (select
              application_id,
              application_name,
              page_id,
              elapsed_time
              from
              apex_workspace_activity_log
              where
              application_id = 103
              and elapsed_time > p_elapsed
              and trunc(view_date) > trunc(sysdate-1)
              order by
              elapsed_time desc)
    
        loop
    
          v_text := v_text || 'Application No: ' || x.application_id ||chr(10);
          v_text := v_text || 'Application: ' || x.application_name ||chr(10);
          v_text := v_text || 'Page Id: ' || x.page_id ||chr(10);
          v_text := v_text || 'Elapsed Time: ' || x.elapsed_time ||chr(10);
          v_text := v_text || utl_tcp.crlf;
    
        end loop;
    
        apex_mail.SEND(p_to    => p_toemail,
                       p_from  => '[email protected]',
                       p_body  => v_text,
                       p_subj  => 'Elapsed Time Metric Warning');
    
        apex_mail.push_queue('localhost', 25);
    
      end pr_checkelapsed;
    
    END p_monitor_page_times;
    See you soon

    Gus

    As says below, the real HTML involved is very simple, and there's a lot of documentation available for it.

    I normally use SQL/XML for generating HTML fragments with the embedded data:

    select
        xmlserialize(
            content
            xmlelement(
                "table"
              , xmlconcat(
                    xmlelement(
                        "tr"
                      , xmlconcat(
                            xmlelement("th", 'Application No')
                          , xmlelement("th", 'Application')
                          , xmlelement("th", 'Page ID')
                          , xmlelement("th", 'Elapsed Time')))
                  , xmlagg(
                        xmlelement(
                            "tr"
                          , xmlconcat(
                                xmlelement("td", application_id)
                              , xmlelement("td", application_name)
                              , xmlelement("td", page_id)
                              , xmlelement("td", elapsed_time)))
                        order by elapsed_time desc)))
            indent size=2) html_table
    from
        apex_workspace_activity_log
    where
        application_id = :p_app_id
    and elapsed_time > :p_elapsed
    and trunc(view_date) > trunc(sysdate-1)
    

    This avoids a lot of tedious messing about with concatenation or substitution in the PL/SQL code and translates the own and valid HTML mark-up with all the tags and attributes in the right place. However as apex_mail API docs notes, the p_body_html parameter must be a complete HTML document (and you will probably need to include any other content and style as well as the table). It's a bit tedious to nest this structure in the query, so a combination method of the lower model for the structure of the base HTML document and this approach to SQL/XML query to generate the table with data structure would be a good idea.

    I guess from the wwv_flow_api of . SET_SECURITY_GROUP_ID call that you intend to execute outside a session of APEX? Another option to consider is to create a public page in this app, or as a stand-alone application in the workspace with this query as a region of simple aid report pages/templates, and all the required style embedded in the page. The mail procedure can then use httpUriType.getCLOB to retrieve this page as a complete document which can be passed as p_body_html to apex_mail.send.

    Note the requirement that each line in the content cannot exceed 1000 characters. Whatever method you use will have to be built around model/applications are used (where the dash in the code above), or you need to process the content and insert CRLF at the appropriate places before calling apex_mail.send.

  • Put the image as a background

    Hello

    I am doing this * Web site as a school project and we are using Dreamweaver 8.

    My problem is that ideally, I'd like my Web site to get a picture as background and on top of that my logo, buttons, text, pictures, etc.

    Is it possible to do? We have learned to work in Mode layout and drawing layout tables, then inside that layout cell. The problem is that as soon as I put my inside a layout cell background image, I can't put another image or a piece of text on top of that (can't shoot an another layout cell inside a cell of existing provision).

    Is it possible to do? When I use tool called layer to draw and draw a box of the layer on top of everything and then put my text here, it works very well, but this layer box goes everywhere in the real web browser when I load the view (F12). Whenever I move it, it moves elsewhere, so it's a bit useless.

    I really need help with this, someone has any ideas? : ()

    Oh, sorry! Try this instead of the body rule that I sent.

    {body

    background - image: URL (path_to_image);

    background repeat: No.-repeat;

    bottom-top position: center;

    }

  • How to load images into different frames on a movieclip? And the creation of a clip empty?

    I want to be able to load external images into different frames in a movieclip and then to control inside the code. To do this, I need to know how to create a movieclip empty with a quantity of images can I specify in the code and how to put different pictures on different periods of the movieclip. How can I do this?

    When you create a movieclip in actionscript, it contains an image and there is no way to change/increase.

    You can create a movieclip with several images in the authoring environment and do what you want, but I don't know that makes a lot of sense.

  • Loading images into movieclip

    Hi guys,.

    I'm new here! I was wondering if someone could explain to me what I'm doing wrong here.

    As part of a mapping system of the Flash-based campus, I am creating an area of 'Information on the rooms' which displays some information about the rooms around the campus, according to the data stored in a Microsoft Access database.

    The .asp file that I use works fine, and my dynamic text boxes display correctly the information that each record in the database is queried.

    However, I also try to post a picture of the room. The image files are located in the same directory as the .swf, they are not progressive .jpgs. I tried to use the following code (which works for everything except images):

    onClipEvent (data)
    {
    Create a Clip to load images in
    mcRoomDatabase.createEmptyMovieClip ("MyImagesHolder", 0);

    strName = name;
    strBuilding = construction;
    strType = Type;
    strProjector = projector;
    strSeats = seats;
    strRoamNet = RoamNet;
    strPosition = "Record" Add String (CurrentRecord + 1) add 'to' String (TotalRecords);

    loadMovie (name + '.jpg', mcRoomDatabase.MyImagesHolder);

    }

    -----------

    Nothing will load in the movieclip. If I use the code (for an imaginary room called Room100)

    loadMovie ("Room100.jpg", mcRoomDatabase.MyImagesHolder);

    the picture perfectly. If I put a new dynamic text box to display

    Name & ".jpg".

    It shows Room100.jpg, which is the same as what I walked when I try directly above.


    I'm confused as to where I'm wrong? Sorry for the long post!

    Thanks a lot for reading

    Alex

    We know not if you load external movie, then in the
    film external loading a jpg. If you you have a synchronization problem in that the
    scenario is not increasing and can run before the swf is completely
    load.

    You are better off with MovieClipLoader if you need to know when the swf file is
    load so you can perform methods on the loaded swf file.

    Or you can insert the code to load the image into each external swf file.

    Other points:
    1.
    onClipEvent (data)
    {
    According to me, fires whenever bytes arrive, which could be several times
    We if you are in test mode or live.
    2.
    Add the operator is deprecated. Use + instead.

    http://livedocs.Macromedia.com/Flash/8/main/00002924.html

    3. If you create a critical application mission your code reveals that you need
    update your skills AS you use old techniques.

    --
    LON Hosford
    www.lonhosford.com
    Number of happy bits exempts your way!
    "Alex UK" wrote in message
    News:e1uj2d$RM4$1@forums. Macromedia.com...
    Hi guys,.

    I'm new here! I was wondering if someone could explain to me what I am doing wrong
    here.

    As part of the Flash-based campus mapping system, I am trying to create a
    "Room
    Information "box which displays some information about the rooms
    around
    the campus, according to the data stored in a Microsoft Access database.

    I use the .asp file works properly and my dynamic text boxes
    are
    correctly display the information in each record of the database is queried.

    However, I also try to post a picture of the room. Image files
    are
    located in the same directory as the .swf, they are not progressive .jpgs. I have
    have tried to use the following code (which works for all, but)
    the
    images):

    onClipEvent (data)
    {
    Create a Clip to load images in
    mcRoomDatabase.createEmptyMovieClip ("MyImagesHolder", 0);

    strName = name;
    strBuilding = construction;
    strType = Type;
    strProjector = projector;
    strSeats = seats;
    strRoamNet = RoamNet;
    strPosition = "Record" Add String (CurrentRecord + 1) add "from".
    String (TotalRecords);

    loadMovie (name + '.jpg', mcRoomDatabase.MyImagesHolder);

    }

    -----------

    Nothing will load in the movieclip. If I use the code (for an imaginary
    room called Room100)

    loadMovie ("Room100.jpg", mcRoomDatabase.MyImagesHolder);

    the picture perfectly. If I put a new dynamic text box to display

    Name & ".jpg".

    It shows Room100.jpg, which is the same as what I walked when I try
    He
    directly above.

    I'm confused as to where I'm wrong? Sorry for the long post!

    Thanks a lot for reading

    Alex

  • I try to restore my ipod, but it wants me to enter the password on the ipod but my ipod is disabled, ive even put the ipod into recovery mode

    Im trying to restore my i Pod but 5th generation. I put my ipod into recovery mode, but when I try to restore it, it asks me to enter the password on my ipod but I can't because the id ipod disabled.

    People with disabilities
    Place the device into Recovery Mode iOS
    https://support.Apple.com/en-us/HT201263
    and then connect you to your computer and restore via iTunes. The iPod will be erased.
    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled
    https://support.Apple.com/en-us/HT204306
    If the recovery mode does not work, try the DFU mode.
    How to put iPod touch / iPhone in DFU "Karthik doodles."
    https://geekindisguise.WordPress.com/2009/07/16/how-to-put-iPod-touch-iPhone-int o - dfu mode.

    To learn how to restore:
    Use iTunes to restore your iPhone, iPad or iPod to factory settings
    https://support.Apple.com/en-us/HT201252
    To restore backup see:
    Restore your device from an iCloud or iTunes backup - Apple Support
    https://support.Apple.com/en-us/HT204184
    If you restore from a backup of iCloud apps will be automatically downloaded. If you restore from backup iTunes, applications and music must be in iTunes since synchronized as music media library and apps are not included in the backup of the iOS device what iTunes does.
    You can re-download most of iTunes purchases by:
    Download after purchase from the App Store and iTunes Store iBookstore
    https://support.Apple.com/en-us/HT201272

    If no problem what happens or doesn't happen, and when in the instructions? When you get the iPod into recovery successfully mode and connect to iTunes on the computer should say that it found an iPod in recovery mode.

  • How to put an image in a specific location in an email?

    It is a more or less continuous PITA.

    When you reply to an e-mail message that includes all previous messages, often in my answer, I want to refer to an image. But I can't put the image there. He jumps just all the way up at the bottom of the thread of previous messages.

    In these discussions here, for example, I can insert a picture where I want. Like this:

    And then continue with the rest of my message, leaving the image where I want.

    Why the +++ * + §§ I can't do it in an email?

    I have no problem to drag / drop any image in one of my emails, Tom.   I wonder if in the implementation of e-mail you have missed something.

    http://News.sky.com/story/1634763/Shoreham-pilot-linked-with-previous-incident

    Of course, this is not.

  • Can I put multiple PDFs into a single pdf file?

    Original title:

    PDF to PDF

    Can I put multiple PDFs into a single pdf file?

    I have a lot of files that consists of 1 page. Is it possible so that I can put them together and print them out?

    Otherewise I have to press the button print 60 times.

    You will need a software to do this. If you haven't already, Google for «combining PDF» There are also sites that allow you to do this online.

  • I put the machine into hibernation and when I restarted, I got a blue screen with stop: 0 x 00000024. Restart gave a different stop error message: 0 x 00000050.

    Original title: Blue screen problems - Stop 0 x 24 and 0 x 50

    I'm not being updated hardware or software on my Dell Latitude D8380.

    I ran the Windows tool to check if the laptop is suitable for upgrading to Windows 7, but did not install any software.

    I put the machine into hibernation and when I restarted, I got a blue screen with stop: 0 x 00000024 (0x001902fe, oxba4f7948, 0xba4f7644, 0xb9d31ae8) ntfs.sys address b9d31ae8 base at bpcef000, datestamp h8025be5.

    Restart gave a different stop error message: 0 x 00000050(0xffffffff,0x00000000,0xba1bef42,0x00000000) i8042prt.sys address ba1bef42 base at ba1b8000, date stamp 48025c 67.

    Please can you help. Thank you, Sue Dixon

    Hello

    Step 1: Check if you are able to boot in safe mode. If you are able to boot into safe mode, and then try to perform the clean boot to safe mode and check.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Reference:

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. click on start and then click Run.
    2. type msconfig and click OK.

    The System Configuration Utility dialog box appears.

    3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.
    4. When prompted, click on restart to restart the computer.

    Step 2: Run the check disk hard disk command. (You will be able to try this step if you are able to start in safe mode or in normal mode with success)

    How to perform disk error checking in Windows XP

    http://support.Microsoft.com/kb/315265

    Let us know the status of the issue.

  • put an item into the basket, made an empty recycle bin, need return the item, please help, I did nothing since the drain, so the machine is in the same condition as when I emptied

    put an item into the basket, made an empty recycle bin, need return the item, please help, I did nothing since the drain, so the machine is in the same condition as when I emptied

    If you have xp, you can do system restore

Maybe you are looking for

  • AT110 is unbootable

    Hello. My AT100 unbootable. After about 10 minutes of wearing the Toshiba sign stuck to the arc in sky-Fireworks. I already tried to drag the cache (button + volume up / stop), did not work. I tried a second time, and then he said that he could not a

  • Tried to install the SP1 for Windows 7 Ultimate 800F0904 error Code

    upgrade to the premium. I get the error: Code 800F0904. I tried troublshooter and the different solutions that didn't work. Can someone help me solve this problem?

  • D041TU HP: HP D041TU Celeron Notebook Wireless drivers are incorrect in the support site

    I recently lowered 10 Windows to Windows 7 battery drain problems with my laptop. I went to get the drivers on the site of HP Support... used automatic driver search. Manual and automatic both give bad drivers for my laptop. Whats happening? does any

  • HP Pavilion Elite m9340f replacement video card and power supply

    Hello I bought my HP Pavilion Elite at Best Buy m9340f in 2009 and brought it to the Venezuela where I live now. My video card, started making the noise of the typical fan geforce 9500gs can do. The temperature of the gpu is very high (from 73 ° c wi

  • FlexVPN vs DMVPN behavior. Advice?

    So I test FlexVPN and I found, for me anyway, a pretty big deal breaker. I ping, telnet, cannot connect to somehow (other than the routing protocol, which works very well), the network "directly attached". What I mean by that is to say my Tunnel inte