What are the steps to setup JavaMail in JDeveloper for Oracle Portlet??

Dear all,
I had got a problem in using JavaMail in JDeveloper.
I am developing a Oracle portlet (actually, it is an online applicatin form for user submission.).
After user submitted the form, the portlet will send email automatically to someone else for notification. The logic is straight forward.
I faced a problem on how to setup the environment for calling JavaMail API.
As far as I know, JavaMail is included in J2EE platform, so I guess I need to put JavaMail classes in the import directives, i.e.
import="java.util.Properties"
import="javax.mail.*"
import="javax.mail.internet.*"
But, when compile the program, error messages are resulted that JavaMail classes not found.
Can anyone help me?
thanks
George (HK)

Dear all,
I switched to use the utl_smtp package for my portlet email function instead of using JavaMail in Portlet.
But, I still want to know the steps and procedures which I need to take in order to invoke JavaMail in Oracle Portlet development. Anyone any ideas?
thanks a lot
George (HK)

Similar Messages

  • What are the steps to setup an HTTP Session replication clustering in oc4j9

    what are the steps to setup an HTTP Session replication clustering in oc4j9.0.5

    Are you sure you have the correct version number for OC4J? Is this a standalone OC4J instance, if it then the steps involved are different from the full stack. Please check the Higher Availibility guide in the documentation on OTN.
    Deepak

  • What are the steps need to be taken care  for MM data sources  while extrac

    what are the steps need to be taken care  for MM data sources  while extracting  from R/3 tables
    and please provide the Steps involved in R/3 side
    thnaks
    Racha

    Hi,
    For Inventory Management, you can have a look at the following link.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]

  • What are the steps to publish Captivate 6 project for use on an iPhone?

    I found this URL: http://blogs.adobe.com/captivate/2010/09/publish-to-iphone-from-captivate-5-and-elearning- suite-2.html
    But this seems dated.
    Here's what I just tried:
    - Hit Publish
    - Checked the SWF AND the HTML5 boxes in teh Output Format Options
    sent the xx.htm  URL to a friend with an iPhone to have her try it (by clicking the URL)
    She said it gave her an error about not being able to run it (needing the flash Player)
    I checked my project (very simple one) via 'HTML Tracker' and it listed nothing in the 'unsupported Slide/Object' list)

    Vish-
    Thanks for the response
    I'm using Captivate 6.0.1.240 (the trial version)
    My tester friend who has an both an iPad as well as an iPhone gave me some more updates this AM
    .. Running in the iPad, everything was looking good, including the drag and drop
    ... Running on the iPhone (smaller screen), she reported the following:  a simple quiz screen with multiple choice radio buttons - the actual radio buttons disappeared (see http://download.insight-experience.com/Tom/Captivate/iPhoneNoRadioButtons.PNG)
    Then i tried it on an iPod Touch.. I launched the same URL from our webserver via safari browser
    It brings up the initial screen with the playbutton (arrow in a circle).. I press that button. It does something for a second or two and then the browser window shuts down and the ipod touch goes back to the main iPod screen with all the buttons to launch the different applications.. I've tried this a few times and the same thing happens.. Basically it seems like the captivate project file is shutting safari down for some reason.
    Any ideas on this one?

  • What are the steps and how to run payroll for a person?

    Hi all,
    I have hired a person.  Hired with begda 01/01/2009.
    I have assigned the person to 0001, 0002, 0006, 0008.
    For this person how can I run payroll?
    Help me with the steps from begin of employee hiring to the employee payroll run.
    So that I can check the hired person payroll results in pc_payresult tcode.
    Thanks,
    Venkata

    Hi,
    Please check
    http://help.sap.com/saphelp_47x200/helpdata/en/69/317235acfa2b5ee10000009b38f839/frameset.htm
    Regards,
    Param

  • What are the step involved in online table reorg in oracle 10g?

    Hi All,
    Could you please provide the step by step how to perform the online table reorg ?
    Thaks
    Bala

    Etbin wrote:
    You mean http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_redefi.htm#ARPLS042 ?
    Regards
    EtbinNo, not table redefinition, I think he means a tablespace reorg as you can do through Enterprise Manager.

  • Setup Exchange2013, with Edge 2010, what are the steps

    i want to install exchange 2010 with Edge Role (and typical installation in Exchange2013).
    I want that all emails to be received from Edge 2010.
    Now, what are the steps after i've finished the default installation:
    1. on Exchange2013 create a default send connector to internet through Edge2010 or directo to mx record on internet?
    2. On edge2010, will i've to create any default send/receive connector?
    3. i've to create edge sync on Edge2010, export it...and import it in Exchange2013, right?
    Let me know with full steps, on each of servers.
    Regards!
    Lasandro Lopez

    Hi  Lasandro Lopez
    Thank you for your question.
    Exchange 2010 Edge Transport server expects a connection to a Hub Transport server. In Exchange 2013, the Transport service exists on the Mailbox server. Therefore, Internet mail flow occurs between the Transport service on the Mailbox server and the Edge
    Transport server, which effectively bypasses the Exchange 2013 Client Access server.
    You can subscribe Exchange 2010 Edge Transport server to an Active Directory site that contains only Exchange 2013 servers. You can import the Edge Subscription file and run EdgeSync on a standalone Exchange 2013 Mailbox server, or on a server where the
    Mailbox server and the Client Access server are installed on the same computer. You can't import the Edge Subscription file or run EdgeSync on a standalone Exchange 2013 Client Access server.
    The procedures to deploy a new Exchange 2007 or Exchange 2010 Edge Transport server in your Exchange 2013 organization are basically the same as in previous versions of Exchange. However, any procedures that are performed on the Hub Transport server are
    performed on the Mailbox server in Exchange 2013.
    You can refer to the following link:
    http://technet.microsoft.com/en-us/library/jj150569(v=exchg.150).aspx
    If there are any questions , please let me know.
    Best Regard,
    Jim

  • Currently running OSX 10.6.8 and Safari 5.1.10. What are the steps to update my IMAC?

    I'm currently running OSX 10.6.8 and Safari 5.1.10. What are the steps to get my IMAC totally up-to-date?

    Back up your data, check your applications for compatibility, and download Yosemite from the Mac App Store.
    (116042)

  • How do I unlock an iphone 5 with Sprint. The SIM is in and Sprint gave me the unlock code, but what are the steps to unlock it?

    How do I unlock an iphone 5 with Sprint 15.1 at IOS 7.0.6 IMEI 99 000320 012095 0 .
    The SIM is in and Sprint gave me the unlock code, but what are the steps to unlock it?

    There is no such thing as an unlock code.   Sprint may have processed the unlock, and then requested you restore the iPhone using iTunes to complete it. But that's it. There is no code to enter, and nowhere to enter it any way.
    iPhone: About unlocking

  • How do i get my apple ID from my old iphone 5 to my new iphone 6 ? what are the steps? because last time i tried getting my apple ID from my old to new phone it all went wrong and i could not sign in or use imessage? thanks

    How do i get my apple ID to work from my old iphone 5 to my new iphone 6? what are the steps? as last time i tried this everything went wrong my imessage would not work and it would not let me sign in?

    Try TransPhone, it's working fine, but a bit expensive...
    After installing this, you'll Be able to send/recieve music, contacts, text messages, photos and Videos over bluetooth. Works fine with all mobile phones and computers...
    I may receive some form of compensation, financial or otherwise, from my recommendation or link
    <Edited by Host>

  • What are the steps would liket take using AR,AP,GL Datasource in R/3

    Hi,
    When i would like to use SAP content data source Like ,AR,AP,GL
    data source what are all the master data need to activate for this.
    Ex: for AR we need to activate the Customer master data
    what abt AP,GL what are the master data need to be activated while using SAP content data source in R/3.

    <i>What are the steps i need to do in source system?.First of all identify the data source and what are the master data need to be used for the data source like AP,AR,GL in R/3.</i>
    Find out what Cubes, ODS's will be used  - > HELP.SAP using the datasource.
    Activate transaction datasources.
    See Infosource Overview and activate relevant master datasources in RSA5 - ECC.
    Install content on BI side.
    It doesnot matter what datasources you activate first, it is just a preferred way to load transaction data only after master data.
    <i>What are all the masterdata need to activate before going to activate AR,AP,GL data source in R/3.</i>
    Infosource Overview

  • What are the steps for loading master data

    Hello
    what are the steps for loading master data? i want to learn about loading all master data and the steps to choose the best way to load the data.
    if anyone has documents please send me the documents i will be really greatful
    [email protected] thanks everyone
    Evion

    Hi Heng,
    Download the data into a CSV file.
    Write a program using GUI_UPLOAD to upload the CSV file and insert records.Chk the below link for example
    http://www.sap-img.com/abap/vendor-master-upload-program.htm
    Reward Points for the useful solutions.
    Regards,
    Harini.S

  • What are the steps to make it seamless for a customer to use the install program and then use the installed program?

    I wrote an install program (.exe) that is downloaded from a website.  When run, it 1) leads a customer to browse to a directory, and 2) copies files (.exe, .dll, etc.) from a website to that directory.  When I run, the installed program works.
    What are the steps to make it seamless for a customer to use the install program and then use the installed program? 
    bhs67

    This site https://msdn.microsoft.com/en-us/library/vstudio/2kt85ked%28v=vs.110%29.aspx provides a basic description of the Visual Studio Windows Installer. 
    Near the bottom of the page is "You can unlock all the features of InstallShield by paying to upgrade to the full version of InstallShield."  Where do I find info that describes the differences between the "free" and the "full"
    versions?
    bhs67
    Hello,
    The default feature does support the task for your requirement, so there is no need to pay for the other features unless you want to use some feature which is not free.
    In addition, as this thread
    InstallShield LE not available with VS 2012 RTM? shared, even through there is a link to InstallShield LE in the New Project dialog under Deployment solutions, but it belongs to third-party that I would recommend you consider posting this issue
    at the following forum to get supports about InstallShield.
    http://community.flexerasoftware.com/forumdisplay.php?133-InstallShield
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What are the steps  needs to be perform to define a data model

    What are the steps  needs to be perform to define a data model
    a.     Information Gathering 
    b.     Hardware & Software
    c.     Structure the Information – MDM
    d.     Transfer into a Physical Model – BW data model
    e.     Explore use of existing model – Business Content

    Hi Siva,
         Very first activity is Proof of concept (POC), here we have to show How BW works for clients Reporting requirement during POC we as BW consultants need to creat some sample BW back end objects and also some reports based on business requirement. This is very crucial stage as Client Judge wethere BW would meet his demands. If every thing is fine then next step is Bidding.
    After Bidding the contract then actual Project intiates. from here we follow ASAP methodology.
    <u><b>
    Project Preparation</b></u>
    Here Senior Consultant would go to Client place for Business Process Transistion and to know in what way the Architectue should be set up so here Basis People will come into picture.
    <u><b>Blue Print</b></u>
    Transistion could be understood by BRD (Business Requirement Documents) BRD states what is exact requirement and it is given by End users.
               By seeeing thr BRD's we as BW consultants must prepare APPlication Design Documents . The Application Design Documents states all the Technical aspects that needs to be performed as BW backend and also as well as Frontend.
    <u><b>Realization Phase</b></u>
      Here as BW consultants we must start confuguring as mentioned in ADD's by taking care of all performance aspects, once all the configuration are done we do Unit testing. unit testing is an activity where we check all the design process wether it running correct or not. After unit testing we move the design objects to Qulaity for Integration Testing.
    <u><b>Testing</b></u>
        Here end user will check all the objects, reports on end to end basis. after integration testing is done then UAT ( User acceptance Testing) would come into picture where user check each process and sign off.
    <u><b>Go live</b></u>
    Here all the object will be moved to Production where end users and power users can start working on the system. intially for some days Development team would be taking care of all support activites there after  it will be transitoned to support team.
    Hope It helps you.
    Assign Points if it usefull
    Regards
    Sujan

  • What are the steps needed to make the field in the DFF Additional Information for Agent only take numbers, commas & hyphens?

    Hello All,
    What are the steps needed to make the field in the DFF Additional Information for Agent only take numbers, commas & hyphens?
    Navigation
    Bob Sales manager<Ebiz form<service request tab<SR type<DFF<additional information for agents <cheque number
    The field Cheque number Character allowed (, -) in the DFF Additional Information for Agent should only take numbers
    Thanks & Regards
    Ayesha

    Thanks Sridar
    If we use Number we cannot separate the cheque numbers with , or -
    We need to enter numbers along with comma and '_' in cheque number field.
    Thanks & Regards
    Ayesha

Maybe you are looking for

  • Apple music app starts automatically in car since ios 8 update on iPhone 5

    Since updating to iOS 8 on an iPhone 5 (thru iTunes on laptop), apple music app starts on its' own in the car using bluetooth. It would start playing music after I started the igniton-though I never use that app or leave music of any sort running in

  • EMac won't start - clicks, fan turns on briefly

    Got a used eMac 800Mhz G4 from my neighbor which is going to be my daughter's first machine. Worked fine at first, but needed a PRAM battery replacement to hold the time. Then a few days later, flickered and turned itself off after 5 minutes of being

  • Keyboards minature plug requires soldering

    HI All I have a White Macbook 1.83ghz version where it looks like the Keyboards minature plug requires soldering back in. Is this practical and will it make the keyboard funcional again? Many thanks GArry

  • Genius and large library seems like a no go.

    I have a large library, slightly under 100k tracks,(yes in the music business and with thousands of cd's digitized over the last 8 years)and it seems that my genius, under Itunes 9, goes through the process and then as soon as it starts to send to Ap

  • Pen Tool, add new point keeps previous point selected?

    This has bugged me immensely ever since the new versions of inDesign adopted this habit, is there a work-around? Say I want to make a customly shaped frame around a photo that's imported in the standard rectangle shape and I don't want it to be a cir