How Mail work with image attachements and HTML image ?

Hello,
I'm writing an application that sends html emails with images to Mail.app. When Mail display the mail, everything is okay, images are correctly embedded in html code, using inline attachements.
But there's still a problem : The images are also displayed at the bottom of the email, as file attachements. I know that Mail's template can hide these attachements, but I cannot reproduce it when sending my own emails.
Is there anybody here that already get such problem and find the solution ? (apparently, Windows User get the same problem with Outlook, but they have an API under Windows...I'm using my own email API..)
David

David can you share how you managed to get the inline images to work. I've got the general idea of how to do it. But I do not seem to be able to change the Content-Type to multipart/mix. Can you point me in the right direction. Should the Content-Type definition and everything else be part of the body? Or should some headers (namely the multipart) be defined in the mailto URL format?
In other words do you do: mailto:?subject=test&Content-Type=multipart/mix;%20boundary=myBoundary&body=--m yBoundary etc...
Or id it: mailto:?subject=test&body=Content-Type=multipart/mix;%20boundary=myBoundary%20- -myBoundary etc..
Neither seems to work for me so I am really stuck. But knowing what the right way is would help me figure things out a bit better.
Thanks in advance

Similar Messages

  • How netflow works with ASA Firepower and Virtual Defense ?

    Hi,
     In the discovery rules of the Virtual Defense, i can see that's it's possible to configure netflow source. I have a pair of Cisco 4500X as the core switch L3, and would like to send a flow to the IPS.
     I configure the switch like that :
    flow record IPV4-FLOW-RECORD
     match ipv4 tos
     match ipv4 protocol
     match ipv4 source address
     match ipv4 destination address
     match transport source-port
     match transport destination-port
     collect interface input
     collect interface output
     collect counter bytes long
     collect counter packets long
    flow exporter Firepower
     source Vlan12
     destination IP_OF_tHE_ASA_IPS_MODULE
    flow monitor IPV4-FLOW
     exporter Firepower
     cache timeout inactive 30
     cache timeout active 60
     cache entries 1000
     record IPV4-FLOW-RECORD
    vlan configuration 100-102 ip flow monitor IPV4-FLOW input
    It's the correct configuration ? Can't see how to check in Virtual Defense if it's receive netflow packets

    SOLUTION!
    Install a second NIC bind vmnet0 to eth1 instead of eth0
    Details:
    Goal was to have the Host OS (Ubuntu 8.04) which is running an Apache web server also serve as an e-mail gateway (SpamTitan) since on a heavy day the web server might hit 5% CPU.
    Why but a whole new machine, right?
    When it did not work right away I went into troubleshooting mode and tried several different things as mentioned above. Which led me to the idea to create my own VM of SpamTitan and bind it to a different NIC.
    Before I went that far I tried reassigning vmnet0 from eth0 to my newly installed eth1 and running it. That seems to have done the trick!
    So now the setup is:
    eth0 192.168.2.4
    eth1 192.168.2.5
    vmnet0 192.168.2.6
    With vmnet0 bridged to eth1
    Why is it working now and not before?
    I am unsure. It is not a Linux thing because I tried both Windows XP and OS X 10.5 with the same result. I think it has more to do with primary network and associated services than Host OS.
    If anyone has any insight please let me know. Otherwise I am going to chase it down later.
    Thanks again for your responses!

  • How to work with crystal reports and boe3.1

    Hello!!! Forums,
             Please suggest me some tutorials and sample code to work with crystal reports that can be viewed in boe3.1. What software to use to deveelop reports? How to view it in boe3.1?
    Regards,
    grace

    At the top of the forums you will see posts that say read this first, read those first.
    [BOE Enterprise|Read Before Posting - Where to find Business Objects .NET SDK Resources;
    [Crystal Reports .NET|Read Before Posting - Where to find Crystal Reports .NET SDK resources;
    Jason

  • How to work with both desktop and Surface pro 3

    Hello,
    I have a desktop for my normal use of Adobe Creative Cloud for Photoshop and Lightroom.  I have my lightroom catalog on a separate external drive.  I just got Surface pro 3 to do Adobe on it.  I am now confused on how to work on Surface and how to access my Lightroom catalog.
    Thanks for your help.
    Mo

    Just install Lightroom on your Surface Pro, plug-in the external drive, and double-click the LR catalog file.

  • How to work with request, response and sessions in JSC

    Hi
    I have two Servlets ServletA and ServletB. ServletA creates a session and add some attributes to this session. Then it forwards the request to ServletB where the attributes of this session are retrieved and used in response object.
    Here is what I am doing in ServletB
    - Get the session attrribute. This attribute is of type byte[]
    byte[] mydata = (byte[]) request.getSession.getAttribute(data);
    response.setContentLength(mydata.length);
    OutputStream stream = response.getOutputStream();
    stream.write(mydata,0,mydata.length);
    stream.close();
    My question is ...
    How do I achieve this in Creator. ?
    Thanks in advance
    Srinivas

    Hi
    I have two Servlets ServletA and ServletB. ServletA
    creates a session and add some attributes to this
    s session. Then it forwards the request to ServletB
    where the attributes of this session are retrieved
    and used in response object.
    Here is what I am doing in ServletB
    - Get the session attrribute. This attribute is of
    type byte[]
    byte[] mydata = (byte[])
    request.getSession.getAttribute(data);
    response.setContentLength(mydata.length);
    OutputStream stream = response.getOutputStream();
    stream.write(mydata,0,mydata.length);
    stream.close();
    My question is ...
    How do I achieve this in Creator. ?
    Thanks in advance
    SrinivasBy "this" do you mean "how do I access a session attribute that has been placed there by another servlet?"
    The base class for all page beans has a bunch of convenience methods available. The simplest one to use for this purpose is getBean(), which searches through request scope, session scope, and application scope for a bean with the name you specify -- and, if its a managed bean, will create it for you as well. So, your code would look like this:
      String data = ...; // Name of the attribute you want
      byte[] mydata = (byte[]) getBean(data);There is an additional quirk related to what you're actually trying to do, though ... it looks like you are trying to write out binary content (perhaps an image loaded from the database or something). It is not possible to mix binary and text output in a single response.
    Your best bet for this particular purpose, then, is to continue using ServletA and ServletB just as you have been. The applications created by Creator are standard servlet-based web applications, so you can use additional servlets and all the other goodies (although you'll have to declare them yourself in the web.xml file, as usual).
    Craig

  • Getting image to work with nested styled and an image anchor

    Hello,
    I have created a nested style for a directory I will be creating. The style has a headline, subhead and body character style. That is all working fine.
    I am using a text anchor to anchor a photo to the left of where each headline starts.
    I am trying to get the text to wrap along the right side of the image. (so, head would move to the top right of the image, subhead would move up and the body copy would move up and wrap the rest of the image.
    See below what I have. I have tried to play with the anchor options, but have been unsuccessful. I can't use a regular text wrap, because it is no longer considered an image.
    Any suggestions?
    thanks!
    babs

    Nevermind -I figured it out.
    If I put the image above the first line of copy (the headline), not next to it, the following anchor options worked..
    See pic:

  • Mail is not saving attachment and save as is not working

    Suddenly my Mail is not saving attachment and save as is not working. I tried to save an email as I use to do but it is not completing the task. I should I do?
    Thanks for any help,
    Mario Lordeiro

    Mario,
    Was there also NO choice to View As Icon, in the contextual menu? If not, these items/images may be embedded in HTML, rather than true attachments. Other choices for normal attachments would include Open Attachment, Open With, Save to Downloads Folder -- are any of those present in the contextual menu?
    With such a message open, click on View in the menubar, place the cursor on Message in the pull-down menu, and choose Raw Source. Is there any HTML code present? Is there a header immediately before any code representing what you believe is an attached file?
    If need be, I can send you an email message with a known form of attachment.
    Ernie

  • How to work with EEWB tool in CRM and how to assign it to PCUI

    Hi Friends,
    Can any body will suggest me how to work with EEWB tool in CRM to add new fields ,i need to attach the fields to a GUI screen and same to PCUI also,
    And how to attach a search help for those fields,is the tool will automatically will create the search helps or it is similar as we do in abap,
    So can any body suggest me to get a material on this ,
    Thaking you
    Regards
    Raghavendra Prasad

    Prasad
    Following are the steps involved in general :
    1. Select the filter Worklist and enter your name in the input field of the object list selection. Press the enter key. Your object list is displayed.
    2. Place your cursor on the highest node(PROJECT BY XXXXXX). Select Create project from the context menu by right-clicking on it. You see the dialog box Create project.
    3. Enter a project name, description, packages, and namespaces for each system used. Leave the dialog box by pressing the enter key.
    Specify transport requests. The Project is created and appears in the object list.
    4. Place your cursor on the new project in the object list and select Create extension in the context menu. You see the dialog box Create extension.
    5. Enter a name and description. Define a Business Object and extension type. Press the enter key.The extension is created and appears in the object list below the project.
    6. Place your cursor on the new extension in the object list and select Call wizard in the context menu. The wizard for the extension action starts automatically.
    7. Fill in the input fields following the notes on screen and end the wizard by clicking on Complete.The extension tasks have been created and appear in the object list.
    Project and extension are created !
    Also take care that you have the Transport Requests and Save the Project and Extensions against a Development Class !
    In general , EEW will automatically puts the fields on the Screen. We donot want to worry abt that !
    The generated BADIs can be implemented to do some Checks(for example) !
    I hope this helps !
    Thanks
    <b>Allot points if this helps !</b>

  • TS3899 Whenever I send a email from iPad mail app with an attachment from pages or numbers, the receiver is getting only attachment in the email. They are getting the email content. How to troubleshoot this issue.

    Whenever I send a email from iPad mail app with an attachment from pages or numbers, the receiver is getting only attachment in the email. They are getting the email content. How to troubleshoot this issue.

    Someone is probably sending spam with your address forged on the To: line.  Could be one of your old contacts with a Windows machine has a virus that's doing it.  It's also possible your e-mail account has been hacked, though I'd think such a hacker would be a bit more purposeful.
    For more information, see:
    http://www.reedcorner.net/guides/macvirus/is_it_malware.php#spam
    * Disclaimer: links to my pages may give me compensation, and should not be taken as endorsement of my services by Apple.

  • How to work with Premiere Pro cs5.5 and After Effects cs5 together?

    I have edited my movie in premiere pro cs5.5 and made the rough cut. In premiere, i have edited the video, put in soundtrack and foley. Now, i need to add muzzle flashes & blood splatters in some scenes and final color correction using After Effects cs5.
    When i import the premiere project in AE and make the changes, and then i export it back as premiere project. When i open this prmiere project, it shows vaious kind of errors and no changes are retained that i did in AE. Also, when i import the premiere project (which has 4 different sequences) in AE, all the media that has been imported in the premiere project also opens in AE making it difficult to organize the media.
    How should i work now so that i add vfx and color correction using AE cs5?
    I thought of exporting the video from Premiere pro and then open the video in AE and add vfx to some scenes and color correction to the full video and render it out again. But, this is the first time i am using AE and i am not sure if this is the best way. PLEASE HELP.
    Or, i could import the whole project in AE, add vfx, do color correction AND then export to video from AE. But i think, it will be better if i export the video from Premiere as it has loads of options to choose from while exporting to a movie.
    The dynamic link does not work between Premiere Pro Cs5.5 and After Effects cs5. Even if it does, its not working on my pc.
    All the footage is in HD and i want the final result in best quality HD too. PLEASE Help!

    If you are working between After Effects and Premiere Pro but with versions that are not the same number, you need to just work with movies rendered and exported as intermediate, lossless files.
    Dynamic Link only works between After Effects and Premiere Pro of the same version number, and only when they are installed as part of the same suite.

  • I am working with Acrobat XI and when I try to add text to geopdf file I get a popup screen that says this is a secured document and editing is not permitted. How do I fix this?

    I am working with Acrobat XI and when I try to add text to a geopdf file I get a popup screen that says this is a secured document and editing is not permitted. How do I fix this?

    I figured it out...needed to use comment tool set, not the editing tool set.

  • How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    How do you copy, for example I work with blue prints and I want to copy a section and copy into another new page?

    Forgot to add that it would be an adjustment layer with some kind of mask on it already. The mask is uncentered when copy and pasted which throws it off.
    I guess the same question would go towards doing the same for an object. How to copy and paste it over to a new doc, keeping its position within the document? is this possible?

  • Which version of camera raw will work with elements 9 and a Nikon D5100? How do I download photos to it?

    I have Photoshop Elements 9 and use a Nikon D5100.  I have downloaded camera raw 6.5 but cannot download photos to it.  Does camera raw start automatically or do I have to manual start it?

    That did I, thanks.
    99jon <[email protected]> wrote:
    99jon  created the discussion
    "Which version of camera raw will work with elements 9 and a Nikon D5100? How do I download photos to it?"
    To view the discussion, visit: https://forums.adobe.com/message/7178756#7178756
    >

  • How to work with DTR  and CBS?

    Hi
    I have designed one web dynpro application. Now I want to work on this application through DTR. Means i want to do versioning and all. How to work with DTR..? I have gone through lot of blogs and help available in SDN but i am unable to understand how to work with it.
    One more thing how to work with CBS. How to configure CBS. I have NWDS latest version 7.0.7. In window perspective i am unable to find JDI. can any one please explain me if u have worked on this with example
    If possible can any one send me the screen shots how to work with these ?
    Best Regards
    Ravi Shankar B

    Hi Ravi
    For you to work with DTR and CBS, firstly u will have to configure JDI on server.
    To configure the NWDI, please go through the links given below:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/07/f6bc3d42f46c33e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/71/0369404c65587ee10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/26b84d6c823f66e10000000a11466f/frameset.htm
    In Nutshell, following steps will be performed:
    1) logon to Portal Devinf.
    2) click on CMS
    3) Go to landscape configurator
    4) create domain
    5) create tracks and add Software components in that track
    6) runtime systems ( dev/qa etc are configured
    7) in the transport studio, all the files listed are checked in through check - in tab.
    8) they move to developement tab.
    Once all these things are done, in your NWDS:
    1) Setting the devbox host name and server port in Window -> Preferences -> SAP
    J2EE Engine
    2) Setting Portal URL in Window -> Preferences -> JDI -> DC Pool and ping server,
    to check whether server is getting accessed from NWDS.
    3) Once server is set, login to DTR and go to DTR perspective. Create a client there, by doing a right click and filling up the required details.
    4) In the DC perspective, in the Local DCs view, perform import configuration.
    5) the dev track is not configured
    6) Under this, after logging into DTR, now you can create your project, check them in and create new versions.
    Thanks & regards,
    Anupreet

  • I have Outlook 2011 installed on my Mac Pro, but I can not install it icloud. I can only get through imail, iCal and Address Book in Mac native anyone know teach me how to work with Outlook 2011 icloud? thank you

    I have Outlook 2011 installed on my Mac Pro, but I can not install it icloud. I can only get through imail, iCal and Address Book in Mac native anyone know teach me how to work with Outlook 2011 icloud? thank you

    "iCloud requires iOS 5 on iPhone 3GS or later, iPod touch (3rd and 4th generation), iPad, or iPad 2; a Mac computer with OS X Lion; or a PC with Windows Vista or Windows 7 (Outlook 2007 or 2010 or an up-to-date browser is required for accessing email, contacts, and calendars). Some features require a Wi-Fi connection. Some features are not available in all countries. Access to some services is limited to 10 devices."
    From here >  http://www.apple.com/icloud/

Maybe you are looking for

  • Dynamic lookup using flex?

    Hi Folks - You know when you are typing a string in a search engine and as you type, options that match what you've typed so far appear in a box below the input field?  I'm trying to recreate that kind of funtionality using flash/flex.  Ideally, a ke

  • Help in understanding TKPROF output

    Hi All, Following is the TKPROF output of a user_dump_dest trace file, obtained by setting trace to 10046@level 12. select "CHNNL"."CHNNL_BK" "C0", case "GEOG12"."SUB_STATE_PRVNC_CD" when *:"SYS_B_000" then :"SYS_B_001" when :"SYS_B_002" then :"SYS_B

  • Organizational unit as an agent using an expression

    Hi SAP Experts, Is it possible to assign an organizational unit as an agent for my task using an expression. The organizational unit to be used is stored in a container. Since it is possible for users to be stored in a container and used as an agent

  • AccessControlException: access denied !Again!

    Hi all, I hava an applet which is signed. I want it to be a way to check filesize. I enter the path of the file in value attribute of <param> tag. In my class when I do: boolean oki=false;     public void init(){oki=new File(getParameter("path")).exi

  • X301 win7 Ericsson 3507g WWAN Card

    Hi all, Anyone got the above card to work with windows 7? Have tried the following but it seems to make no difference. http://www-307.ibm.com/pc/support/site.wss/WIN7-BE​TA.html#f3507g The error stated is "This device cannot start. (Code 10)" Anyone