Include Image using cid:... then receiving to Junk folder

Hi All,
I'm trying to include an image to the mail.
Image is correctly included.. but the mail is receiving to Junk folder in OutLook. Whats wrong? Pls help me.
My code:
MimeBodyPart mbp1 = new MimeBodyPart();
         mbp1.setContent(" <HTML><BODY>" +
                   "<img  src=\"cid:image001\">" +
                              "</BODY></HTML>", "text/html; charset=\"iso-8859-1\"");
MimeBodyPart mbp2 = new MimeBodyPart();
FileDataSource fds = new FileDataSource("F:\\image\\image.jpg") {
          public String getContentType() {
              return "IMAGE/JPG";
         mbp2.setDataHandler(new DataHandler(fds));
mbp2.setHeader("Content-ID", "<image001>");
Multipart mp = new MimeMultipart("related");
         mp.addBodyPart(mbp1);
         mp.addBodyPart(mbp2);
         msg.setContent(mp);
msg.saveChanges();

Well, obviously the receiver thinks your message looks like spam.
If it's not really spam, you'll have to change it in some way to look
less like spam. But every spam filter has different rules and there's
no way to tell you exactly what to do to get your message past
any particular spam filter.

Similar Messages

  • I have used Image Capture to scan images/documents and then saved them as either PDFs or PNG files.  For some reason, just this past week Image Capture will no longer save the file.  It scans, and the Scan Results window pops up, but it won't save file.

    I have used Image Capture to scan images/documents and then saved them as either PDFs or PNG files.  For some reason, just this past week, Image Capture will no longer save the file.  It scans, and the Scan Results window pops up, but it won't save file.
    The file name has no special character in it, just letters and no spaces.
    I have done this in the past and it has worked, but now it will not.
    I have not upgraded any software, that I am aware of.
    After scanning, the Image Capture pops up the Scan Results with the file name in the window, but neither the Scan Results nor the Image Capture window responds to inputs.  The Image Capture window is frozen, with only the "Overview" and "Cancel" buttons active (but non-responsive).
    Is this a software issue or a scanner hardware issue?  I am using a HP Photosmart C6200 series printer/scanner on a network using a Time Capsule airport.
    Thanks.

    I had the same problem.
    Got a 90% fix.  Apparently the Mavericks preferences won't work with Yosemite, so I just deleted the Image Capture preferences.
    Unfortunately, the "Scan to" folder seems to be permanently set to the Pictures folder.
    1.  Quit Image Capture
    2.  Go to Finder > Go > Home, which opens up your home folder (named after your user name)
    3.  Open Library > Preferences > com.apple.ImageCapture.plist - Drag this file to the Trash
    4.  Start "Image Capture", click "Details" and change all your settings as you prefer
    5.  Quit and restart "Image Capture".   Notice it remembers all your settings except "Scan to" folder.  It insists on saving to "Pictures".
    That's as far as I was successful.  I tried changing the "Scan to" folder to "Desktop", but on launch, Image Capture always sets it back to "Pictures".
    This is what I tried:
    6.  Download and install "Pref Setter" from http://www.nightproductions.net/prefsetter.html
    7.  Quit "Image Capture".  Right-click on "com.apple.ImageCapture.plist" and open with Pref Setter.
    8.  Search for "Pictures", which finds "~/Pictures" (the tilde character at the start means your home directory).
    9.  Double-click on "~/Pictures" and change it to the folder you prefer.  I like "~/Desktop"
    10. Choose File > Save then Quit from Pref Setter.  Note that re-opening the plist file still shows "~/Desktop"
    11. Start up "Image Capture" -- on startup, "Image Capture" sets "Scan to" folder to "Pictures"
    I consider this a bug.

  • Why when i edit an image in LR5 then decide to edit further is PS i go to  photo then edit in then i choose CS5. this used to work but now when i do it the image is in the original state not the edited in LR?

    i need help. i just got LR5   yesterday i could edit in LR then go to photo and choose edit in photoshop and it worked. today its not what happens when i do this now is it open in PS as the orginal not edited in LR settings. how can i get this to work again???

    Raw files always go straight to Photoshop without showing the "Open a copy" dialog. However:
    SInce Photoshop CS5 uses an older version of Camera Raw compared to LR5, that older version isn't capable of interpreting all the settings that LR5 passes to it (normally LR sends the original raw file, plus the list of adjustments, over the Photoshop - and Photoshop renders the image using its own Camera Raw engine).
    You would normally get a dialog indicating there is a Camera Raw version mismatch, giving you the options to "Render using Lightroom," or "Open anyway." You want to Render Using Lightroom.
    you may have turned this dialog off - there's a checkbox that says "Don't show again." You can restore the display of this dialog box by going into Lightroom's preferences in the General tab, and choosing "Reset all warning dialogs."
    here's a handy document from Victoria Bampton that explains raw rendering and camera raw version mismatch:
    http://www.lightroomqueen.com/downloads/bookexcerpts/lr3excerpts/lr3sample-29-openanyway.p df
    Hope oped that Helps!
    MIke

  • I use aperture 3 since a long time. Using slit viewer, now the bigger image become bigger then the given space and shifted to the right, so that I can't see the complete picture anymore. And I also don't see the last few picture in the strip below. How ca

    I use aperture 3 since a long time. Using slit viewer, noe the bigger image become bigger then the given space and shifted to the right, so that I can't see the complete picture anymore. And I also don't see the last few picture in the strip below. How can I splve this problem?

    This lloks like your preferences file might have become corrupted.
    you probably have a problem with corrupted user preferences.
    Remove the Preferences: Remove the Aperture's user preferences from the User Library as described here:
    Aperture 3: Troubleshooting Basics   http://support.apple.com/kb/HT3805
    Note:Your User Library is hidden by default in 10.7.x or later - to open it in a Finder window use the "Go" menu from the Finder's main menu bar.
    Quit Aperture, if it is running. Log off and on again.
    Open the user library by using the Finder's "Go > Go to Folder" menu and hold down the options-key, until "Library" appears in the drop down menu. Select it.
    In the widow that will open, scroll down to "Preferences"
    From the "Preferences" folder  remove "com.apple.Aperture.plist".
    Then try to launch Aperture again.
    But deleting the "Preferences" file will cause Aperture to forget the preferences settings. Be prepared to have to reset all options you set using the Aperture Preferences panel.
    Regards
    Léonie

  • I am new to ios & using 5C. I want to know where is all the media (Images, videos, Audio etc) received through Whatsapp are saved after downloading in Iphone. And also how to access the same.

    I am new to ios & using 5C. I want to know where is all the media (Images, videos, Audio etc) received through Whatsapp are saved after downloading  in Iphone. And also how to access the same.

    These are user to user forums.  You ARE NOT addressing Apple by posting here.
    Also, why are you YELLING at us??  Stop using ALL CAPS.
    What steps have you done to try and fix the problem?

  • I received a "junk" email that I attempted to dispose of by sending it to "trash" and then deleting it from "trash". At that point, instead of deleting, it simply rotates back into "junk"--and over and over. How do I delete this unwanted email?

    I received a  "junk" email and attempted to dispose of it by sending it to "trash" and the deleting it from the trash file (the way I always do). This particular spam, however, instead simply rotates back into the "junk" file-- ad infinatum. How do I eliminate tis unwanted pest?

    Try logging on to your email via the web browser (assuming the email account is gmail, yahoo, etc) and deleting the email from there. It could just be that the email program on the iPad is not properly synching with the web server so the email keeps re-downloading.

  • How to print uspto patent images using Safari and Quicktime

    3/18/06
    Do you want to know how to print US patent images using Safari? Read on.
    When you access the "images" link of a specific patent on the www.uspto.gov/ website using Safari, the page you are viewing is only one small upper left tile of a huge patent image that is not sized to the screen. You can scroll and try to read the page but it's almost impossible. Try to print it out and you only print what's on the screen. Bummer.
    The fix:
    Place the cursor on the opened image (it may appear blank), hold down the CONTROL key on you keyboard and click on the image. Two instructions come up. Click on the "Save Image to the Desktop" instruction and a DImg.tiff file will be created on your desktop. Click on the .tiff file and it should open in the Preview program, then simply print out the image. Voila!!!!
    Click the yellow arrow in the left margin to access page 2 of the patent and repeat the previous instructions to create another .tiff file on your destop. Do every page and you'll have the patent available to print out one page at a time.
    You can then rename the files and create a folder for that specific patent so you can access it later without signing onto uspto site.
    It's odd that the ever compatible Apple does not provide seamless compatibility to view and print patent images on the US Patent and Trademark Office's website. Where would they be without protecting their own intellectal property? Let's hope the next version of Quicktime includes the appropriate ITU T.6 or CCITT Group 4 (G4) compression language.
    Even the "throw it out the Windows" operating system is up to speed on this issue for America's hard working inventors.
    Keep on inventing.
    Tommy K
    imac 400 DV   Mac OS X (10.3.9)   Cube 450
    imac 400 DV   Mac OS X (10.3.9)   Cube 450

    Another similar thread on this issue...
    http://discussions.apple.com/thread.jspa?messageID=1602391

  • Hi I have a question about shooting in Raw with my Canon EOS 6d. I'm in the process of learning photography and my goal was to start shooting in raw. I have Photoshop CS5. When I tried to edit my images in raw I received an error message stating, "The pho

    Hi I have a question about shooting in Raw with my Canon EOS 6d.
    I'm in the process of learning photography and my goal was to start shooting in raw.
    I have Photoshop CS5. When I tried to edit my images in raw I received an error message stating, "The photoshop camera raw plug-in did not recognize the format. If these files are from a camera, you may need to update your camera raw plug in."
    In researching the issue I read that to edit in raw you need a camera model requirement of at least 7.3 which only works with CS6. My version of CS5 is 6.0.0.205. Being new to all this I see that my options are to upgrade to CS6 or convert by using DNG converter and paying a monthly fee. Two things I know nothing about and don't know which is would be more beneficial.
    I'd appreciate any advise on which route to go and how upgrade and what it may cost. THANKS in advance!
    Heather

    In researching the issue I read that to edit in raw you need a camera model requirement of at least 7.3 which only works with CS6.
    That is correct. Your camera was first supported by Camera Raw 7.3. Camera Raw 7.3 will not work with CS5. You need CS6 or CC.
    Being new to all this I see that my options are to upgrade to CS6 or convert by using DNG converter and paying a monthly fee. Two things I know nothing about and don't know which is would be more beneficial.
    I'd appreciate any advise on which route to go and how upgrade and what it may cost.
    It all depends on your preferred workflow and your budget.
    Using the DNG converter is free. There is no monthly fee. You use the converter to convert all Raw files from the EOS 6D to DNGs then edit the DNGs in CS5. That's an extra step every time - every photo. Some people don't like the extra step. Others don't mind.
    Camera raw, DNG | Adobe Photoshop CC
    Or you can upgrade to CS6 (non-Cloud) and pay the upgrade fee
    Creative Suite 6
    Or join the Cloud and pay the monthly fee
    Or join the Photoshop Photography Program (US9.99/month) and get PS CC+LR

  • Why do the file extensions (.jpg .gif .png) no longer appear when I click on a previously saved image to use that image's file name (particularly important when saving a series of images using the same root name)?

    I save a lot of images using firefox, often times from a large batch or series of images. It used to be that I would click on a previously saved image and the entire file name including the file extension (i.e. image_example.jpg) would appear in the "save as" line. Now when I click on a previously saved file, the file name appears without the file extension (i.e. image_example). Which means I have to manually type .jpg every time. For a large collection of images that I am hoping to use the same root file name and then add chronological numbers at the end, this has become incredibly frustrating, especially as it is a previously unnecessary task.
    I am using a new Macbook Pro and maybe there's something Apple related to this...? It did not happen on my old PowerBook G4. I have file extensions turned on in System Preferences.
    It should be noted that I have searched high and low and have even gone into the Apple Genius Bar where they were just confused as I was and of course ended by urging me to use Safari (shocker!) as it has all kinds of new extensions and bells and whistles. I seriously feel alone on an island with this dumb, hard to google problem. Thanks so much for any help anyone out there might have.
    I mean: is this as simple as changing a setting in about:config?
    Your assistance is greatly appreciated.

    Thanks for your response Mylenium, however like I mentioned multiple times, I did change all of my trackpad/scrolling settings in system preferences.  And if I wanted to use a normal mouse (or a tablet), I would've gotten an iMac instead of a MacBook Pro.  I travel often and work all over the place, not always with access to a decently sized workspace that would be required for using a mouse or tablet.

  • How to include images in my app

    hi all.
    I'm using Apex 2.1 over XE.
    I'm sorry but i can't find any thread related to how to include images in my app.
    I've uploaded several trough shared componentes / files / images, but don't know how to use it, for example, in an HTML region, as header of the page.
    Thanks a lot for your help.
    Fernando

    Hi,
    I have used four different ways to display images in my applications depending on which method is the fastest to refresh.
    1. Under Application Attributes > Edit Standard Attributes > Substitutions enter your substitution string (MY_IMAGE_URL) and substitution value(http://somewhere/img)
    and then in the region or template use the following syntax &MY_IMAGE_URL. in your html tags eg. img src="&MY_IMAGE_URL./banner.png" width="x" height="x">)
    I have found this the best for image refresh speed, especially if the image is already cached.
    2. Load your image up into Apex and don't associate it with any application and use the following tag img src="#WORKSPACE_IMAGES#banner.png" width="x" height="x" alt="">
    Good for development as all images not associated to an application are available.
    3. Load your image up into Apex and associate it with an application and use the following tag img src="#APP_IMAGES#banner.png" width="x" height="x" alt="">
    This can be a pain during development when your application numbers continually change.
    4. Use standard http address <img src="http://somewhere/banner.png" width="x" height="x">
    Ben
    Message was edited by:
    Benton

  • Adding name of indesign document to metadata of all images used in document

    I have been asked to include the indesign file name in the metatag of each image used in every document i produce from here on.
    is there a way to write a script in indesign that will copy the document name then open every link (in bridge?) and append the document name to the metadata (i don't want to lose any existing tags) and then save?
    scott

    This should should give you a start. It'll add the active documents name to the field instructions of the img when executed. Tested once. No errorhandling.
    currDoc = app.activeDocument;
    docName = currDoc.name;
    docGraphics = currDoc.allGraphics;
    for(var g = 0; g < docGraphics.length; g++){
        currGraphic = docGraphics[g];
            currGraphicFilePath = currGraphic.itemLink.filePath;
            fileObject = File(currGraphicFilePath);
    writeDocNameToMeta(fileObject, docName);
    function writeDocNameToMeta(fileObject, docName){
    if(loadXMPLibrary()){
            var myFile = fileObject;
            xmpFile = new XMPFile(myFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);
            var myXmp = xmpFile.getXMP();
                  var myStatus = myXmp.getProperty(XMPConst.NS_PHOTOSHOP,"Instructions");
       myXmp.deleteProperty(XMPConst.NS_PHOTOSHOP, "Instructions");
       myXmp.setProperty(XMPConst.NS_PHOTOSHOP, "Instructions", docName);
       if (xmpFile.canPutXMP(myXmp)) {          xmpFile.putXMP(myXmp);    }
            xmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
            unloadXMPLibrary();
        function loadXMPLibrary(){
            if ( !ExternalObject.AdobeXMPScript ){
                try{ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');}
                catch (e){alert('Unable to load the AdobeXMPScript library!'); return false;}
            return true;
    function unloadXMPLibrary(){
            if( ExternalObject.AdobeXMPScript ){
                try{ExternalObject.AdobeXMPScript.unload(); ExternalObject.AdobeXMPScript = undefined;}
                catch (e){alert('Unable to unload the AdobeXMPScript library!');}
    Hans-Gerd Claßen

  • How to get muliple teaser images using assetset:getmultiplevalues?

    1. I have created a template called sample and Names it as sample.jsp
    2. In the subTypes i selected a pageDefinition which i created alrady with the following page attributes
         1.teaserImager 2.teaserText
         Both attributes are Multiple
    3. I then created a asset HomePage of asset type Page.
    4. For that HomePage i applied a template sample which i created in Step 1.
    5.I added 4 teaser images and teser texts in the contributor interface
    6. In eclipse i am trying to modify sample.jsp to fetch the teaser images using assetset:getmultiplevalues. But no success?
    Could anybody tell me how to fetch the teaser images using getmultplevalues?
    Below is the code which is not working, just for ref.
    <render:logdep cid='<%=ics.GetVar("tid")%>' c="Template" />
    <assetset:setasset name="home" type="Page" id='<%=ics.GetVar("cid")%>' />
    <assetset:getattributevalues name="home" attribute="teaserImages" listvarname="teasersImg" typename="PageAttribute" />
    *<assetset:getmultiplevalues name="home" list="teasersImg" prefix="sample" />*
    *<ics:listloop listname="sample:value">*
                   *<insite:calltemplate tname="Detail" c="AVIImage"*
                        cid='<%=ics.GetVar("imageId")%>' assettype="Page"
                        assetid='<%=ics.GetVar("cid")%>' field="teasersImg" index="1" />
              *</ics:listloop>*
    Above code gives me the exception saying
    Exception in doEndTag() in tag com.openmarket.gator.jsp.assetset.Getmultiplevalues in page 'avisports/Page/InsiteLayout' in element 'Page/InsiteLayout' errno: -13102 errdetail: 0
    com.openmarket.basic.interfaces.AssetException: Can't find attribute type: 1330543072207
    thanks
    Sri
    Edited by: 987672 on Feb 12, 2013 12:15 PM

    Hi Nick, I do see information on creating a slideshow with Quicktime at: http://www.apple.com/quicktime/tutorials/slideshow.html
    however it appears Quicktime X removed that capability. There is no 'open image sequence' option from the File menu in Quicktime X.
    If I do end up sticking with Final Cut - would you recommend any codec and/or dimension size that would result in the best quality or the most crisp image? I also need a few fade in's and out's on various parts - I don't believe I would have the control without Final Cut.
    Would resizing the image files in Photoshop to 1920 pixels by 1280 before importing them into Final Cut result in crisper images? Thanks.

  • Email signatures, to (include) images or not, that is the question!

    We just had this discussion internally and decided against it.  When they work, they look good, but when they don't work, signatures full of picture place holders look terrible.  I think it really depends on what kind of business your company is in and whether there is a benefit to the recipient to get a little web page in every email you send.

    Greetings all,I am looking at options for email signatures for a client. I have used Exclaimer in the past for in-house Exchange servers and like it. I am trialing the Office365 version presently.Just looking for thoughts on if you include images any more in email signatures? I'm talking company logo at a min and a few social media icons and links at a maximum. I note gmail now block embedded images (and I'm sure they're not alone) and we're all familiar with mail clients that will block the other option, web based images and give the option of downloading them.There's much to be said for a nice looking signature I think with a good logo and but not OTT, whilst there is also much to be said for a simple text based approach and nobody receiving broken images or blocked links when they open your mail.What say my fellow spiceheads?...
    This topic first appeared in the Spiceworks Community

  • Problem to output image using ServletOutputStream

    Hallo everybody! Can anybody help me? I try to output image (jpeg) using ServletOutputStream. First I upload jpeg image to server disassemble it to binary data and save to database binary data, image length, and image type. Then I try to output image.
    Here the code:
    response.reset();
    response.setContentType(strContentType);
    ServletOutputStream sos=response.getOutputStream();
    sos.write(buf,0,bflen);
    sos.close();
    variable buf is array of byte with binary data
    bflen is image length
    strContentType it image type (image/pjpeg)
    I use JRun server 3.1
    I tried to save an image file:
    FileOutputStream fos = new FileOutputStream("test_logo.jpg");
    fos.write(buf,0,bflen);
    fos.close();
    And I got an jpeg file.

    I've done the exact same thing... almost. I have a
    servlet that sends a jpeg file to an applet for
    processing. Anyway, I did two things differently.
    First I used the write(byte[]) rather than
    write(byte[], int offset, int length). If you're
    going to send the whole array anyway, don't bother
    with the other parameters.
    Second, I call flush() on the output stream before I
    close it. I have a feeling this is why. Remember,
    web connections are connectionless. You don't know if
    the data was send or received. I assume what is
    happening is that you try to send the data then close
    the connection right away and the data may not get to
    the destination.
    Here's what I have. I don't think the content type
    really matters but I know multipart/form-data is
    binary.
    response.setContentType("multipart/form-data");
    response.getOutputStream().write(image.data);
    response.getOutputStream().flush();
    response.getOutputStream().close();
    I'll try it. But I have problem to call getOutputStream() method. It produce IllegalStateExeption. I think that because implicit getWriter() method calls. (I use JSP)
    Do you know how to reset somehow response to have ability to call getOutputStream()?

  • Export to RTF does not include images???

    Hi,
    I ve written a script which converts a batch of indesign files to RTF files...I m using this script in a plugin in InDesign CS3 on MAC OS.
    I ve used this:
    exportFile(ExportFormat.rtf, f );
    But the converted .rtf files does not include the images present in the .indd files...
    what modification should be done to include images? is it possible?
    Someone pls guide me...
    Thanks.

    No, that's not possible. The best you can do is to replace the images with their file names, then import those images in the application that you send the RTF files to.
    Peter

Maybe you are looking for

  • All songs from itunes do not show up on ipod

    I am having trouble getting all my songs from itunes to my ipod. When in itunes if I click on my ipod it says all the songs are there, but when I try to find them on my ipod they are not there. If someone could help me out figuring why not all songs

  • ICloud Storage and Macbook

    Hello Everyone, If I delete old emails from my iCloud account, will they be deleted from Mail on my Macbook? I want to free up space on the cloud, but I don't want to permanently delete any of my e-mails, so hence, I want to keep them on my Macbook.

  • 5700 ultra

    Where can i buy a MSI 5700 ultra?????

  • Enq: TX - row lock contention wait event

    Hi, I would like to find which DML query has not given COMMIT or ROLLBACK after the execution. Because one of the development database have more table locks and developer reported that their session was hanging. I referred AWR report also and more ti

  • CProjects "accounting Tab" role/resource assignments missing

    Hi, I have assinged the Project Taks with roles and resources but when i navigate to the "accounting tab"  and expand the Project structure , the assignments are not visible, However the costs and rev related to the assignments are updated in the bac