Read mails with embedded screenshot and .msg attachment

Hi Folks,
Requirement : Fetch emails from an email box and store it in Oracle Database for further processing.
Issue faced : 1) I am unable to fetch the screenshot embedded in the email. I tried fetching them as an attachment, but when I try to open the attachment its throws an error.
                    2) When an email with .msg attachment is received, the disposition and file name are read as null and hence the attachment is not read.
I tried searching on net but all that I see is how to send such emails and not fetch one .
Can any one please guide me through this?
Thanks
Rajitha@

What program is being used to send the messages with attachments?
If you read the message using (e.g.) Thunderbird and save the attachment, is it correct?
If possible, use the JavaMail msgshow.java sample program to read the message and save the attachments.  Does that work correctly?
If none of that helps you figure out the source of the problem, I'm going to need more details to help you debug it.  I'm going to need to see the part of your code that saves the attachment, the debug output when your program reads the message and saves the attachment, and possibly a sample message with attachment that demonstrates the problem.  It's probably easier to send that information to me at [email protected]

Similar Messages

  • Procedure or Function that send E-mail with image background and file attached

    hi
    I4d like know if someone there is a procedure or function that send E-mail with image background and file attached, for me.
    thanks
    Josi Vieira

    If you go to this part of OTN you will find the official Oracle UTL_SMTP demo, which includes attachments:
    http://technet.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    Getting a background is slightly trickier. The UTL_SMTP package is for primarily sending text e-mails, whereas images require HTML e-mail. I suggest you look at the structure of a sample HTML e-mail and see if you can write the necessary HTML strings in the DATA parameter. Otherwise you'll need to investigate handcrafting a program based on the UTL_TCP package.
    [rant]
    If this seems like a lot of trouble I agree and urge you not to bother. HTML e-mail is one of the curses of the modern age, not least because it is frequently used by purveyors of viruses. I have a filter on my Outlook client that strips out all the HTML in any e-mail I receive, which means I get lots of e-mails rendered unreadable by the inclusion of <HTML> tags. But who cares, they're mostly spam anyway. In fact, the use of HTML in an e-mail is almost always an indicator of the irrelevance of its content.
    [rant]
    Vibes, APC

  • E-Mail with embeded pictures

    I have received E-mails with embeded pictures.When I go to forward them, the text appears, but the pictures are lost.
    Does anyone have any suggestions?

    Sunday,
    One way to see if a picture is actually attached to your email, rather than being shown through HTML, is to see if Mail shows an attachment with the "save" and "slideshow" buttons at the top part of the mail.
    Clicking on "slideshow" will show you all the pictures attached to the mail.
    Another thing you can do is to choose View > Message > Raw Source from the menu. This will show you the raw code for your mail.
    If the pictures are showing up because of html, you'll see some code like:
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <META NAME="Generator" CONTENT="Microsoft Word 97">
    <TITLE>Page title </TITLE>
    </HEAD>
    <BODY LINK="#0000ff" VLINK="#800080">
    <a href="http://www.dummyaddress.com/docs/newsletter/0906/">
    <img src="http://www.dummyaddress.com/docs/newsletter/0906/online0906-large.gif" width="700" height="3785" border="0">
    </a>
    </BODY>
    </HTML>
    If it's there, it means when you are forwarding the mail you're not forwarding pictures, just code; furthermore, Mail doesn't do HTML at this point, so the code won't work in your forwarded mail.

  • Sample Java  Code to send an HTML mail with embeded image

    Hello,
    Please can I get a sample Java code on sending an HTML mail with embeded image.
    The HTML message and relevant input parameters withhbe supplied from a PL/SQL that will call the class , the class will embed the image and send the mail to the recepient.

    tev wrote:
    Please can I get a sample Java codeNo. This is a forum, not a code mill.
    Recommended reading: How to ask questions the smart way
    db

  • When I access my google e-mail account on the I-pad my inbox has at least 6 e-mails with no sender and no subject (absent via I-phone, Mac or PC) I cannot delete them as they cannot be selected- how do I stop them and clear the ones there now?

    When I access my google e-mail account on the I-pad my inbox has at least 6 e-mails with no sender and no subject (absent via I-phone, Mac or PC) I cannot delete them as they cannot be selected- how do I stop them and clear the ones there now?

    Try turning the account off and on : Settings > Mail, Contacts, Calendars , then tap the account on the right, slide Mail to 'off', exit settings and go back into the Mail app, and then go back to Settings and slide Mail back to 'on'
    If that doesn't work then try closing the Mail app completely : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Send mails with csv file as an attachment through oracle(SQL SCripts / Stor

    Hello Everybody,
    I have recently come across a requirement in which I am supposed to send mails with csv file as an attachment through oracle(SQL SCripts / Stored Procedure) .
    The contents of the csv file are to be retreived from the Database as well as the content of the mail and to whom it needs to be sent has also to be picked up from the database.
    Can somebody suggest me with a suitable code for the same?
    Would be of great help..!!
    Thanks & Regards,
    - VR
    Edited by: user646716 on Dec 18, 2009 10:44 AM

    read below links
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:255615160805
    http://www.orafaq.com/wiki/Send_mail_from_PL/SQL#Send_mail_with_UTL_TCP_-withattachments
    How to send csv file as an attachment

  • Create mails with embedded pix ?

    When I attach a pic to an email, it's an attachment that won't even be shown inline within MS Outlook. Outlook, on the other side, can create HTML mails; Mail.app creates RTF mails.
    How can I create mails with embedded pix - like e.g. Apple's newsletters, iTMS gift notifications...
    Thanks a lot
    Peter

    Here's a post at Hawk Wings that may help:
    http://www.hawkwings.net/2005/09/27/composing-html-messages-in-apple-mail/
    Good luck.
    Bronson

  • Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    If you just mean, can I close it, sure. In Reader XI click the Tools button to close or reopen it.

  • Hello, I have a "clé usb" with a imovie film in. I want to read it with my mac and with iMovie but it didn't work! Can you help me please

    hello, I have a "clé usb" with a imovie film in. I want to read it with my mac and with iMovie but it didn't work! Can you help me please

    Jeanne, you are going to have to give us some additional information: what kind of files are they, on what computer, using what application, were they made, how was the USB key formatted in the first place?
    Do the files not copy to your desktop?

  • I want to export my photos with the title and info attached

    I want to export my photos with the title and info attached but cannot seem to do it with this new os.

    Are you confusing Titles and Filenames by any chance?
    When you email you're sending a file. The email client sees the Filename. The title is in the Exif metadata of the file and the email app doesn't see this - neither will the Finder or filebrowser.
    You can export (as above) and opt to use the Title as Filename - it's there at the Filename section.
    Regards
    TD

  • My Macbook Pro seems to be running more slowly - I see the spinning ball more frequently.  Also, for work, I run PowerPoint presentations with embedded videos and they don't run smoothly.  Any suggestions?  I am going to try to attached my system get

    Problem description:
    Macbook Pro running slow - videos especially.
    EtreCheck version: 2.1.8 (121)
    Report generated February 26, 2015 7:29:57 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro7,1
        1 2.4 GHz Intel Core 2 Duo CPU: 2-core
        4 GB RAM
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Check Battery - Cycle count 489
    Video Information: ℹ️
        NVIDIA GeForce 320M - VRAM: 256 MB
            Color LCD 1280 x 800
    System Software: ℹ️
        Mac OS X 10.7.5 (11G63) - Time since boot: 2:2:46
    Disk Information: ℹ️
        TOSHIBA MK5065GSXF disk0 : (500.11 GB)
            disk0s1 (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 499.25 GB (334.02 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
        Apple Internal Memory Card Reader
        Apple Inc. Built-in iSight
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
        Apple Inc. Apple Internal Keyboard / Trackpad
    Kernel Extensions: ℹ️
            /Applications/zoom.us.app
        [not loaded]    zoom.us.ZoomAudioDevice (1.1 - SDK 10.8) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.cisco.cscotun (1.0) [Click for support]
    Launch Agents: ℹ️
        [loaded]    com.cisco.anyconnect.gui.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.teamviewer.teamviewer.plist [Click for support]
        [running]    com.teamviewer.teamviewer_desktop.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.cisco.anyconnect.vpnagentd.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.teamviewer.Helper.plist [Click for support]
        [running]    com.teamviewer.teamviewer_service.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
        [loaded]    com.citrixonline.GoToMeeting.G2MUpdate.plist [Click for support]
        [loaded]    com.facebook.videochat.[redacted].plist [Click for support]
    User Login Items: ℹ️
        Dropbox    Application  (/Applications/Dropbox.app)
        Box Edit    Application  (/Users/[redacted]/Library/Application Support/Box/Box Edit/Box Edit.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Google Earth Web Plug-in: Version: 6.0 [Click for support]
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        Flip4Mac WMV Plugin: Version: 2.3.6.5 [Click for support]
        AdobePDFViewerNPAPI: Version: 11.0.03 - SDK 10.6 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.10411.0 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        CTVAFPPlugin: Version: CTVAFPPlugin 0.4.0.3 - SDK 10.2 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.8
        AdobePDFViewer: Version: 11.0.03 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.1
        SharePointBrowserPlugin: Version: 14.3.8 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 25 Check version
    User internet Plug-ins: ℹ️
        WebEx64: Version: 1.0 - SDK 10.6 [Click for support]
        WebEx: Version: 1.0 [Click for support]
        CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Click for support]
        Box Edit: Version: 1.2.17(341) - SDK 10.8 [Click for support]
        ZoomUsPlugIn: Version: 3.0.45605.0811 - SDK 10.9 [Click for support]
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Growl  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            21%    WebProcess
             3%    WindowServer
             1%    Microsoft Word
             0%    fontd
             0%    Microsoft Excel
    Top Processes by Memory: ℹ️
        515 MB    WebProcess
        223 MB    Mail
        116 MB    Safari
        94 MB    Microsoft Word
        90 MB    Address Book
    Virtual Memory Information: ℹ️
        1.27 GB    Free RAM
        1.85 GB    Active RAM
        493 MB    Inactive RAM
        410 MB    Wired RAM
        508 MB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Feb 26, 2015, 05:26:28 PM    Self test - passed

    When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Mail problem with embedded images and links

    Since Yosemite Apple Mail seems to have a problem with images that are used as a hyperlink to a website.
    While links are clickable with external loaded images work fine, links with embedded images just do not anything. Clicking on them selects them, a double-click opens the image in Preview.
    This works:
    <a href="https://www.google.de"><img src="https://www.google.de/images/srpr/logo11w.png" alt="Google Logo"></a>
    This does not work:
    <a href="https://www.google.de"><img src="cid:logo_google" alt="Google Logo"></a>
    Can you reproduce this problem?
    We tried it with OS X 10.10.1 and 10.10.2

    After a bit of digging around I think I have found the reason for the EO being called prior to the CO. In the parent page CO, there is a transaction commit (oapagecontext.getApplicationModule(oawebbean).getTransaction().commit();).
    Therefore, I assume that as my custom AM is a child of standard AM where the transaction is being commit, the child AM is sharing the same transaction/session and hence the EO being called.
    I am running into issues with moving the validation to the EO as the validation requires visibility of the VO values to calculate a total value. Therefore is there a way to ensure that my custom AM maintains a separate database session/transaction to the parent/standard AM? Is it possible to break the parent/child relationship?
    This way I assume that the commit issued by the parent page CO will not affect my custom AM/EO.
    Cheers.
    Jon.

  • Can I send an E-Mail with photo (not as an attachment)?

    I would like to send an E-Mail with a small photo (not as an attachment) to someone who is reluctant to open attachments. Can I do this and how??
    Thank you
    tch

    If you insert an image into the body, it will still be 'attached', even though it won't be listed as an attachment in the usual way. Another option is to upload the photo to your personal storage space such as OneDrive or Google Drive, and then email the link to the image. The image can then be displayed in a web browser. If you don't have a storage space, there are plenty of free image-hosting services.

  • What is the best way to send auto mail with excel(generated by query) attachment?

    Hello,
    Need to generate first data from stored procedure and the save it to an excel file and then send mail with the same excel file.
    So am searching for the best way so that i could do all process in a single task with daily or monthly schedule.
    As per my understanding, we could it via SSIS and by sql server using
    sp_send_dbmail.
    But i have to generate excel file first by stored procedure and then end it by mail.
    So please suggest the best way to accomplish all task in a single task.
    Thanks
    Ajay 

    Hi Ajay,
    As shown in the blog mentioned by Syed, to delete records from the Excel file, you need to use Update OpenRowset command to update the corresponding rows to blank.
    Alternatively, you can also use Derived Column Transformation or Conditional Split Transformation after the OLE DB Source so that you can replace the target rows with NULL before exporting to Excel destination or just redirect the expected records to the
    Excel destination.
    Then, in the Control Flow, you can add a Send Mail Task to send the Excel file by setting it as the attachment. The following screenshot is for your reference:
    Regards,
    Mike Yin
    TechNet Community Support

  • How send e-mail with XML + PDF and body text

    Hi everyone,
    I have a new requirement but I´m with doubts, how to send an e-mail with two attachements (XML and PDF) and body text using -
    MIME: multipart/mixed;boundary
    I already have code to send XML + body text as you can see below:
    Element contentType = docout.createElement("Content_Type");
      root.appendChild(contentType);
      Text contentTypeText = docout.createTextNode("multipart/mixed;boundary=--AaZz");
      absTraceLog.addDebugMessage("Content_Type e-mail --- "+contentTypeText.toString());
      contentType.appendChild(contentTypeText)
    String text = "----AaZz\r\nContent-Type: text/plain; charset=UTF-8\r\n" +
            "Content-Disposition: inline\r\n\r\n" + nfeText +
            "\r\n----AaZz\r\nContent-Disposition: attachment; filename="+ prefixo +" "+ chaveNFe +".xml" +"\r\n\r\n" + xmlString + "\r\n";
    Element content = docout.createElement("Content");
    root.appendChild(content);
    contentText = docout.createTextNode(text);
    Content.appendChild(contentText);
    The code above work good, but I can´t duplicate any field from XiMail 3.0 - because it´s 0:1.
    So how to do that ?
    Thanks.
    Regards,
    BR.
    Viana.

    Eng,
    That´s works good with mailPackage:
                content= "--" + "--Zz" + CRLF
                        + "Content-Type: text/html; charset=UTF-8" + CRLF
                        + "Content-Disposition: inline" + CRLF + CRLF
                        + textBodyMail + CRLF
                        + "--" + "--Zz" + CRLF
                        + "Content-Type: application/xml; name=" + attachmentName + CRLF
                        + "Content-Disposition: attachment; filename=" + attachmentName + CRLF
                        + "Content-Transfer-Encoding: base64" + CRLF + CRLF
                        + encoder.encode(inputString.getBytes("UTF-8")) + CRLF
                        + "--" + "--Zz" + CRLF
                        + "Content-Type: application/pdf; name=" + pdfName + CRLF
                        + "Content-Disposition: attachment; filename=" + pdfName + CRLF
                        + "Content-Transfer-Encoding: base64" + CRLF + CRLF
                        + encoder.encodeBuffer(new BASE64Decoder().decodeBuffer(pdfAttachment));
    Regards,
    BR.
    Ricardo Viana.

Maybe you are looking for

  • NFS vs iSCSI IOPS differ - why?

    Hello - I recently setup an environment utilizing 8 IO Analyzers each accessing either an iSCSI LUN or NFS Share (but not both at the same time). The secondary virtual disk was set at 30GB. For the iSCSI tests, we ran a 50/50 0% random workload and o

  • How to read file and output base64 string?

    im having a hard time reading binary file and converting it to base64. is there a parameter in extendscript like file.read('base64') ??

  • WHY can't I connect to my db with DW??

    the database is there. When I log in using mysql login, the database is there. I can run queries using mysql syntax. I try to connect to the database using DW yanno... the programs simple method? Utilizing the applications window...no such luck. I ca

  • Problem with Struts Validation and apache dtd definition.

    Jakarta Struts Java Version 1.5 We have one web application that is being a little problematic, on startup two errors are thrown relating to the same problem (errors below). We get 401 returned for http://jakarta.apache.org/commons/dtds/validator_1_0

  • Certification expired? @ HelloWorld-app.xml in tutorial pdf

    Hi, everyone. Im just a student passed by and interesting in Flex app (however i dont have a good fundamental about web ^^") I tries to follow the pdf file, devappsflex. Using Notepad++ as texteditor and FlexSDK in Vista sp1 64bit. HelloWorld.mxml is