Sending an attachment the Application Java problem

Hello

I wrote an Application that, among other things, puts the data entered by the user in a CSV format of attachment and sends it as part of a message to multiple parties. I followed the instructions described in the article DB-00009 knowledge base and have tried a number of different types of content and file extensions but I still have the same error.

"Electronic mail service does not support these types of attachments. "Change the field send aid or remove attachments.

I tried to "text/plain" content type and name the attachment file "foo.txt", but still have the problem.

My environment;

-OS 4.6

-configured as a CLDC application rather a MIDlet

-Eclipse JDE component pack 4.6.0.16

I'm looking for advice on the recommended content type parameter, and any other guidance in addition to the one in DB-00009 to send a simple text formatted (everything what he csv) file in my application. For example I would be better to treat this as just a byte stream attachment?

Thanks in advance!

Randy

Only, the problem seems to appear in the Simulator. I'm going to close for now.

Tags: BlackBerry Developers

Similar Questions

  • Force OS x to open the application Java using Fusion?

    I have an application Java (.jnlp extension) that constantly crashes on OS X, regardless of the version of Java, local network or running on the internet, all I can think about... It crashes on very specific actions.

    However the application will run fine on windows and works great on windows emulated by merger.  Problem 95% solved.

    I would like to mark this file type to open in fusion.  Always.

    When I right click on the .jnlp file I see the option open with the OS X Java.  How can I navigate to VMware / Fusion / Windows of Java version?  I can browse and select always 'open with Fusion' but this isn't the right solution.  I need to see the Java application in windows?

    There must be a way to do what I don't see.

    Thank you.

    Hello

    You need only to enable it here. The dialog box you're talking about... I don't know what this is supposed to add except confusion.

    Then in the Finder, you can click on the file you want to open, use open with and other things that it offers is the registered file type.

    For example, in the screenshot below, I have selected a file named "Downloaden.zip" in the Finder and then choose open with.

    On my end, it took about 5 minutes before the option 'Open with' showed for the first time after activating the Merge option.

    Of course, once turned on, it shows very quickly.

    There is also a help in merging topic, type 'Open with' in the help-> Search menu.

    --

    Wil

  • Cannot run the application: Java Virtual Machine cannot be loaded. Class not registered

    I want to launch the TI Flash Studio program on my computer windows 7, but the above error when I try to open the program, when I download the suggested 'Virtual Machine' I get another error message that says that the 'Virtual Machine' is not compatible with windows 7, how can I solve this problem?

    Hello hallaman3,

    I did not find TI Studio listed in the Windows 7 Compatibility Center. I suggest that you contact TI to see if they have an updated version.
    I found a new version of TI connect to be compatible with Windows 7. Not sure if you need it for TI Studio.

    You can also try compatibility mode.

    If the program is not compatible, then you try to install and run the program in compatibility mode.

    Use the following steps:

    (1) right click on the program

    2) click Properties

    3) click on the Compatibility tab

    (4) select run this program in compatibility mode and select Windows Vista or other operating system, the program has been run successfully.

    Check out the link here: make sure to run older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    If compatibility is not successful, then try and run the program compatibility problems:

    1. open the troubleshooting program compatibility Troubleshooter by clicking the Start button.

    Then click on Control Panel. In the search box, type troubleshooting, and then click Troubleshooting. Under programs, click on run programs for previous versions of Windows.

    2. follow the instructions in the troubleshooting.

    If you are unable to install a program, insert the installation disc for the program and, using the Troubleshoot utility, navigate to the program setup file, usually called Setup.exe, Install.exe, or something similar. This utility is not designed to work on programs that have an .msi file name extension.

    I hope this helps.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Since the recent upgrade, I don't see any of my projects in Shutterfly. Their customer support says that it may be the problem with the application Java and Adobe Flash Player

    See above - there known problems with these applications?

    Your player (if any) Java is not indicated clearly in your list of plugins, and your FlashDrive is several versions behind. If Apple has a site update, you can check that first. Mozilla site is here: http://www.mozilla.org/plugincheck/

  • Web services CF10, components not found - the seller Java problem?

    Did someone having problems web services in Oracle Java CF10, IIS 7 calls,?  We have recently improved, and web services are now back the error message depending on whether the component is not found:

    The web service operation has caused an exception of invocation.

    The root cause was that: coldfusion.runtime.CfJspPage$ NoSuchTemplateException: could not find the ColdFusion component or interface


    The web service must be created in cfadmin?  It won't let me.  I was understanding the cfinvoke webservice call would create the webservice, but this isn't.


    Any information outside of Adobe documentation I've read would be useful.


    We have this same file on four different servers.  It works on two of the four.  The only difference I see in the server settings in addition to the CF and the operating system version, is the vendor/version of Java.


    1 CF10, Java Sun, IIS 7.5.7600.16385 - work

    2 CF8, Sun Java - work

    3 CF10, Java, Oracle - does not

    4 CF10, Java, Oracle, IIS 7.5.7600.16385 - does not


    Thank you.

    It turns out that it was a matter of nomenclature of directory.  Directory has a period in it (for example, domaine.org).  Once the period has been removed from the directory name, it worked.  For some reason, it worked fine in CF8 but not CF10.  I hope this helps someone else.

  • exception to the application java host card

    Dear Sir, I am writing a host of java card application. So far I did that a user can enter a PIN by GUI and checks himself. But suddenly my application is started to be thrown an exception:
    Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
         at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1090)
         at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1086)
         at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1081)
         at java.awt.Toolkit.getEventQueue(Toolkit.java:1678)
         at java.awt.EventQueue.isDispatchThread(EventQueue.java:807)
         at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:1336)
         at javax.swing.JComponent.revalidate(JComponent.java:4768)
         at javax.swing.plaf.basic.BasicComboBoxUI$Handler.contentsChanged(BasicComboBoxUI.java:1746)
         at javax.swing.plaf.basic.BasicComboBoxUI$Handler.intervalRemoved(BasicComboBoxUI.java:1765)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:387)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1264)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
         at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
         at javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
         at javax.swing.JComboBox.addItem(JComboBox.java:698)
         at evoting.host.app.SmartCardHostApp.getTerminals(SmartCardHostApp.java:390)
         at evoting.host.app.SmartCardHostApp.terminalListActionPerformed(SmartCardHostApp.java:714)
         at evoting.host.app.SmartCardHostApp.access$0(SmartCardHostApp.java:712)
         at evoting.host.app.SmartCardHostApp$1.itemStateChanged(SmartCardHostApp.java:144)
         at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1207)
         at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1255)
         at javax.swing.JComboBox.contentsChanged(JComboBox.java:1311)
         at javax.swing.JComboBox.intervalRemoved(JComboBox.java:1333)
         at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:161)
         at javax.swing.DefaultComboBoxModel.removeAllElements(DefaultComboBoxModel.java:169)
         at javax.swing.JComboBox.removeAllItems(JComboBox.java:753)
    but when I run the program without the card chip computer application runs. I tried it but not able to get a solution...

    I guess this is part of the code that fills a fall to the bottom of your Swing application that has a list of terminals for cards in there?

    Whenever you add a terminal to your list, it triggers a status change event JComboBox that is in turn you invite you to repopulate the list that triggers a status change event JComboBox which is in turn asking you to repopulate the list that triggers a state change event... as you can see you are stuck in a recursive loop and eventually you are running out of stack space. You can set your event to your drop-down list box handling so it does not trigger an update whenever you change. Or that the event does not call the code that fired the event.

    See you soon,.
    Shane

  • synchronization, and start the application met problem?

    I don't know why when I run my apps in the device, the result is

    Why?

    even * beep * stuf to me. I disconnect my device from the pc and remove the unit from manage your device... and connect the device to the back and set up again.

  • org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl: java.io.EOFException when sending an attachment in email in Oracle ADF

    Hello I'm developing a web application Oracle ADF Essentials using jdeveloper11.1.2.4. In this, I have a java program which allows you to send an email. I sent this request the Tomcat6.x and Glassfish3.1.

    My e-mail program works fine in tomcat6.x. E-mail program is sending e-mail with an attachment when running application that has deployed on tomcat. But when am under application that was deployed to Glassfish3.1 this email program gives the following exception.

    org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl | _ThreadID = 94; _ThreadName = thread 2;: java.io.EOFException

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._readLine(MultipartFormHandler.java:253)

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._readLine(MultipartFormHandler.java:237)

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._skipBoundary(MultipartFormHandler.java:223)

    to org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler. < init > (MultipartFormHandler.java:102)

    to org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler. < init > (MultipartFormHandler.java:75)

    at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl.beginRequest(FileUploadConfiguratorImpl.java:114)

    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)

    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)

    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ AdapterCallable.call (ContainerMapper.java:317)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)

    at java.lang.Thread.run(Thread.java:745)

    |#]

    And use the following code to load a file

    / * Method to download the file to the actual path on the server * /.

    private String uploadFile (file UploadedFile) {}

    System.out.println ("will transfer");

    File UploadedFile = myfile;

    String path = null;

    If (myfile == null) {}

    System.out.println ("in uploadFile if - 279: myfile == null");

    } else {}

    All the downloaded files will be stored in the following path

    System.out.println ("in uploadFile if - 282: myfile.") = null");

    path = "D: / / EasyRunFileStore / /" + myfile.getFilename ();

    InputStream inputStream = null;

    try {}

    FileOutputStream out = new FileOutputStream (path);

    inputStream = myfile.getInputStream ();

    ubyte [] buffer = new byte [8192];

    int bytesRead = 0;

    While ((bytesRead = inputStream.read (buffer, 0, 8192))! = - 1) {}

    out. Write (buffer, 0, bytesRead);

    }

    out. Flush();

    out. Close();

    } catch (Exception ex) {}

    handle the exception

    ex.printStackTrace ();

    System.out.println ("emailPage 277" + ex.getMessage ());

    } {Finally

    try {}

    inputStream.close ();

    } catch (IOException e) {}

    e.printStackTrace ();

    System.out.println ("email 302" + e.getMessage ());

    }

    }

    }

    Please help me.

    GlassFish - sending pictures in the application of the ADF - Stack Overflow

    Citattion:

    This is a bug on that version of Glassfish server you use. Check this list for reference bugs:TRINIDAD-10033 & GLASSFISH-18446. You have to move from 3.1.2 to 3.1.2.2 it is fixed to the furthest.

  • Send attachments using the utl_smtp

    Hello
    How can I use UTL_SMTP to send a file generated by email as an attachment. I created a MS Excel spreadsheet on an application server. I would send it as an attachment to the recipients.
    OneWay is to use the uuencode in UNIX script.
    But I wanted it to be sent using UTL_SMTP. Could someone please suggest a good direction?

    Thank you
    UDs

    UDs wrote:

    How can I use UTL_SMTP to send a file generated by email as an attachment.

    You can not. Wrong question. SMTP is a protocol for transfer as Simple Mail Transfer Protocol. Its only purpose is to take a completed email, you connect to a mail server and forward this email to the e-mail server for delivery.

    It's like a freight delivery truck. He doesn't have the cargo. In other words, it does not build an email duly filled out for your.

    You must move the cargo to SMTP for delivery via the SMTP DATA command. The cargo in this context must be a valid MIME (Multipurpose Internet Mail Extensions) body.

    The body contains two main parts. The header that contains data such as the subject of the e-mail, the type of mail and so on. Followed by the body that contains the actual e-mail content, including all attachments.

    I suggest you read the Wikipedia link, I have provided as it explains a lot of what a MIME body is, with references to memos RFC (Request For Comments) that governs the MIME standards.

    With Oracle 10.2 and later versions, a package called UTL_MAIL PL/SQL is provided which creates a MIME body for you - that oppose you create one manually for UTL_SMTP. However, UTL_MAIL is a bit primitive, as it supports only one attachment.

    I created a MS Excel spreadsheet on an application server.

    If it resides on the application server, then it must be transported to the layer of database for delivery by e-mail. Wouldn't it be faster to just send it via the application server itself? Unless of course it must be stored at the level of the db in all cases.

  • The exeption of breakpoint. A breakpoint has been reached. (0 x 80000003) occurred in the application at location 0x00c75a0f

    Separated from this thread.

    I also have this problem, but in a game installed on my pc, it is not an an online game.

    It gives me this message at different times, first time it happened I've had just started the game and was moving.

    second time I had played for about 15 minutes before it happened.

    I should be grateful if you would I you could help us.

    Hello

    Thanks for posting in the Microsoft Community. I would appreciate it if you could help us with more information.

    1. You receive this error message on what game?

    2. The game is compatible with Windows 8? Check the Compatibility Center

    This problem may occur if the application has problems of compatibility with the operating system. I suggest you to uninstall the game from the Control Paneland reinstall in compatibility mode.

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • How to attach the file to send by mail

    I'm trying to understand how to attach a file and send it to the email from my address book

    Hi marilynp47029385,

    Please see this KB doc for the procedure to send the file as an attachment by application: sharing PDF files

    You can also directly reach email account file. Compose an email and click on the attachment icon. Then, browse to the location of the file and select the file. It will focus on your mail.

    Let us know if you encounter any problem.

    Kind regards

    Meenakshi

  • UTL_SMTP mail with an attachment (problem by attaching the zip file)

    Hi all

    I used the code for sending email with attachment below. but when I try to add the body of the message its does not work in the sense of sound do not attach my file. When I commented that border its attach the file.
    commented lines:
     -- utl_smtp.write_data(mail_conn,UTL_TCP.CRLF ||'Body' ||':'|| text || UTL_TCP.CRLF);
    
      --utl_smtp.write_data(mail_conn,UTL_TCP.CRLF||text || UTL_TCP.CRLF );
    How to solve this problem?

    Full procedure.
    create or replace
    procedure sssl_send_mail (
          p_sender varchar2,
          p_recipient varchar2,
          p_cc varchar2,
          p_subject varchar2,
          p_filename varchar2,
          text varchar2) is     
        --c utl_smtp.connection;
        v_raw raw(57);
        v_length integer := 0;
        v_buffer_size integer := 57;
        v_offset integer := 1;
        mailhost    VARCHAR2(64) := 'xxxxxxxxxx';
        port constant number(2):=25;
        timeout number :=180;
        mail_conn  utl_smtp.connection;   
     p_blob Blob;
     temp_os_file bfile;
     ex number;  
    begin  
       DBMS_LOB.CREATETEMPORARY(p_blob,true);
       temp_os_file := BFILENAME ('xxxxxxxx',p_filename);
       ex := dbms_lob.fileexists(temp_os_file);
          if ex = 1 then
             dbms_lob.fileopen(temp_os_file, dbms_lob.file_readonly);
             dbms_lob.loadfromfile(p_blob,temp_os_file, dbms_lob.getlength(temp_os_file));
             dbms_lob.fileclose(temp_os_file);
           end if;
       mail_conn := utl_smtp.open_connection(mailhost, port,timeout);
       utl_smtp.helo(mail_conn, mailhost);
       utl_smtp.mail(mail_conn, p_sender);
       utl_smtp.rcpt(mail_conn, p_recipient);
       utl_smtp.rcpt(mail_conn, p_cc);
    
    
       utl_smtp.open_data(mail_conn);
      utl_smtp.write_data(mail_conn,'From'||':'|| p_sender || UTL_TCP.CRLF);
      utl_smtp.write_data(mail_conn,'To'||':'|| p_recipient || UTL_TCP.CRLF);
      utl_smtp.write_data(mail_conn,'CC'||':'|| p_cc || UTL_TCP.CRLF);
    
    
      utl_smtp.write_data(mail_conn,'Subject' ||':'|| p_subject || UTL_TCP.CRLF);
    
     -- utl_smtp.write_data(mail_conn,UTL_TCP.CRLF ||'Body' ||':'|| text || UTL_TCP.CRLF);
    
      --utl_smtp.write_data(mail_conn,UTL_TCP.CRLF||text || UTL_TCP.CRLF );
    
    
    
        utl_smtp.write_data( mail_conn, 'Content-Disposition: attachment; filename="' || p_filename || '"' || utl_tcp.crlf);
        utl_smtp.write_data( mail_conn, 'Content-Transfer-Encoding: base64' || utl_tcp.crlf );
        utl_smtp.write_data( mail_conn, utl_tcp.crlf ); 
        v_length := dbms_lob.getlength(p_blob);     
        <<while_loop>>
        while v_offset < v_length loop
          dbms_lob.read( p_blob, v_buffer_size, v_offset, v_raw );
          utl_smtp.write_raw_data( mail_conn, utl_encode.base64_encode(v_raw) );
          utl_smtp.write_data( mail_conn, utl_tcp.crlf );
          v_offset := v_offset + v_buffer_size;
        end loop while_loop;
        utl_smtp.write_data( mail_conn, utl_tcp.crlf );
        utl_smtp.close_data(mail_conn);
        utl_smtp.quit(mail_conn);
      exception
        when utl_smtp.transient_error or utl_smtp.permanent_error then
          utl_smtp.quit(mail_conn);
          raise;
        when others then
        raise;
      end;
    Please, help me to solve this problem.

    Thanks in advance.

    See you soon,.
    Shan.

    Published by: Shan on January 13, 2011 13:08

    Published by: Shan on January 14, 2011 15:22

    I don't have your question on the BLOB store. I read the disk file (BFILE) and then storing it in temporary LOB. I send a file in my hotmail and it came as an attachment.

    DECLARE
      /*LOB operation related varriables */
      v_src_loc  BFILE := BFILENAME('SAUBHIK', 'Waterlilies.jpg');
      l_buffer   RAW(54);
      l_amount   BINARY_INTEGER := 54;
      l_pos      INTEGER := 1;
      l_blob     BLOB := EMPTY_BLOB;
      l_blob_len INTEGER;
      v_amount   INTEGER;
    
      /*UTL_SMTP related varriavles. */
      v_connection_handle  UTL_SMTP.CONNECTION;
      v_from_email_address VARCHAR2(30) := '[email protected]';--change your email address
      v_to_email_address   VARCHAR2(30) := '[email protected]'; --change your email address
      v_smtp_host          VARCHAR2(30) := '9.182.156.144'; --My mail server, replace it with yours.
      v_subject            VARCHAR2(30) := 'Your Test Mail';
      l_message            VARCHAR2(200) := 'This is test mail using UTL_SMTP';
    
      /* This send_header procedure is written in the documentation */
      PROCEDURE send_header(pi_name IN VARCHAR2, pi_header IN VARCHAR2) AS
      BEGIN
        UTL_SMTP.WRITE_DATA(v_connection_handle,
                            pi_name || ': ' || pi_header || UTL_TCP.CRLF);
      END;
    
    BEGIN
      /*Preparing the LOB from file for attachment. */
      DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
      DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
      v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
      DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
      l_blob_len := DBMS_LOB.getlength(l_blob);
    
      /*UTL_SMTP related coding. */
      v_connection_handle := UTL_SMTP.OPEN_CONNECTION(host => v_smtp_host);
      UTL_SMTP.HELO(v_connection_handle, v_smtp_host);
      UTL_SMTP.MAIL(v_connection_handle, v_from_email_address);
      UTL_SMTP.RCPT(v_connection_handle, v_to_email_address);
      UTL_SMTP.OPEN_DATA(v_connection_handle);
      send_header('From', '"Sender" <' || v_from_email_address || '>');
      send_header('To', '"Recipient" <' || v_to_email_address || '>');
      send_header('Subject', v_subject);
    
      --MIME header.
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'MIME-Version: 1.0' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Type: multipart/mixed; ' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          ' boundary= "' || 'SAUBHIK.SECBOUND' || '"' ||
                          UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    
      -- Mail Body
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Type: text/plain;' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          ' charset=US-ASCII' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, l_message || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    
      -- Mail Attachment
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          '--' || 'SAUBHIK.SECBOUND' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Type: application/octet-stream' ||
                          UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Disposition: attachment; ' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          ' filename="' || 'Waterlilies.jpg' || '"' || --My filename
                          UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          'Content-Transfer-Encoding: base64' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    
      /* Writing the BLOL in chunks */
      WHILE l_pos < l_blob_len LOOP
        DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
        UTL_SMTP.write_raw_data(v_connection_handle,
                                UTL_ENCODE.BASE64_ENCODE(l_buffer));
        UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
        l_buffer := NULL;
        l_pos    := l_pos + l_amount;
      END LOOP;
      UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
    
      -- Close Email
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          '--' || 'SAUBHIK.SECBOUND' || '--' || UTL_TCP.CRLF);
      UTL_SMTP.WRITE_DATA(v_connection_handle,
                          UTL_TCP.CRLF || '.' || UTL_TCP.CRLF);
    
      UTL_SMTP.CLOSE_DATA(v_connection_handle);
      UTL_SMTP.QUIT(v_connection_handle);
      DBMS_LOB.FREETEMPORARY(l_blob);
      DBMS_LOB.FILECLOSE(v_src_loc);
    
    EXCEPTION
      WHEN OTHERS THEN
        UTL_SMTP.QUIT(v_connection_handle);
        DBMS_LOB.FREETEMPORARY(l_blob);
        DBMS_LOB.FILECLOSE(v_src_loc);
        RAISE;
    END;
    

    http://saubbane.blogspot.com/2011/01/sending-binary-attachmentimages-in-mail.html

  • Problems sending data between the computer and the emulator.

    I can't send anything to the Calculator Emulator. Does not appear in the Send button calculator. In the emulator, it seems that send key as soon as I connect with the calculator and can send data to it. There is command of testicles that EU can do to make sure that a machine works, for example, the USB driver?

    In fact, including updates, firmware:

    application version: 20140702v6031

    operating system version: V 0.032.6030

    version of the program: 201472 (6031)

    most: the calculator, I received yesterday, day 1. and I doesn't seem to work well. There is a channel for guaranteed support, you can contact?

    Recognizing

    Davi

    Friends:

    Thank you very much. The problem has been resolved. As soon as I saw the kit, 3 updates were made and the machine works normally.

    Thank you

    Davi

  • FaceTime will not open on my Macbook pro (el capitan).  Message: "FaceTime close unexpectedly.  Click Reopen to reopen the application. Click report to display more detailed information and send a report to Apple. "Please help me.

    FaceTime will not open on my Macbook pro (el capitan).  Message: "FaceTime close unexpectedly.  Click Reopen to reopen the application. Click report to display more detailed information and send a report to Apple. "Please help me.

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Step 1

    For this step, the title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    In the upper right corner of the Console window, there is a search box to filter. Enter the name of the application crashed or process. For example, if Safari has crashed, you would enter "Safari" (without the quotes).

    Each message in the journal begins with the date and time when it was entered. Select the messages since the time of the last fall, as appropriate. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    Step 2

    In the Console window, clear the search box, and then select

    DIAGNOSIS AND diagnostic USE information reports ▹ user

    (not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway. If the report is only a few lines, make sure that you have disabled the search box.

    If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report - they are very long and rarely useful.

    When you post the journal excerpt or the accident report, you might see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • When I send an email with an attachment, the recipient cannot open it.

    I TRY to SEND YEAR EMAIL WITH AN ATTACHMENT OF THE WORD or PIECE WORK. THE PERSON RECEIVING THE MAIL CANNOT USE THE FORMAT AND THE APPLICATION TO BE CONVERTED TO PDF. HOW DO I DO THAT?

    Open the docunent in Word and save it as a PDF file.
     
    The Applications Microsoft Office forums
    http://answers.Microsoft.com/en-us/Office

Maybe you are looking for