How to create MAC JNI call to launch the native email client

How to write JNI code to call native default email client on MAC OSX and add attachment in that email client. Thanks plz help in this regard.

Which suggests that you want to open the actual email client, rather than using java itself to send the email.
However it doesn't answer why.
At any rate that requires the following.
1. A platform specific way to run the email client. If you can't figure out how to do this from the command line (nothing to do with java) then you can't do it in java.
2. A way to manipulate an application that is running. The Robot package is intended for that. It might or might not do it. If not then you would need to find or create something else to do this.
3. Custom scripts for each possible email client which is fed into part 2 to make it do something.
Obviously a lot of work especially the last as that part might vary not only by vendor by also by version and user configuration.

Similar Messages

  • How to create a routine call in FM (FI Module)

    How to create a routine call in FM (FI Module)

    Anu,
    I've attached a really short example that does something like what you're talking about.  It just compares the user's username and password a pre-determined username and password and then "logs the user in" based on that comparison.  Like Greycat said, you probably want to store this username and password info in some sort of file on the PDA that's in an encrypted format for both security and flexibility of your application.
    I hope this helps,
    Justin D.
    Applications Engineer
    National Instruments
    Attachments:
    LoginVI.vi ‏17 KB

  • Palm Pre - Here is how to create a web bookmark to launch a streaming audio site

    Once you have a URL that you have confirmed as working with the Pre to play streaming audio, unfortunately you can't create a bookmark when playing the streaming audio.  Here is a way you can create a bookmark to easily launch the site again to play the streaming audio:
    My example is for WHYY the PBS station in Philadelphia.  
    You can either create a new bookmark or use an existing one you don't use.  If you create a new bookmark you can set an icon you want to use.
    Use this process if you are creating a new bookmark.
    1a.    I entered the URL for WHYY, http://www.whyy.org, so I could create an icon with the visual for WHYY.  This step is not necessary and doesn't need to be related to the streaming audio content, it just allowed me to get the icon I wanted.
    1b.  With the WHYY site loaded I choose Menu>Add Bookmark
    1c.  I touched on the icon at the top of the window and adjusted the boundaries to just include the WHYY logo
    2.  I then touched in the URL line and changed the URL to http://207.245.67.204/listen.pls
    3.  I then touched the "Add Bookmark" button
    Use this process if you are using an existing bookmark that you want to recycle.  This bookmark will not be usable in its old form again.
    1a.  Within a web card tap Menu>Bookmarks to display the existing bookmarks.
    1b.  Find the bookmark you want to use and tap the information button, "i", at the right
    2.  Then tap in the URL line and change the URL to http://207.245.67.204/listen.pls
    3.  Then touch the "Add Bookmark" button 
    That's it.  You can now choose "Web" from the Launcher and touch the new bookmark and the streaming audio will launch. 
    Post relates to: Pre p100eww (Sprint)
    Post relates to: Pre p100eww (Sprint)
    Post relates to: Pre p100eww (Sprint)

    I had the same problem and found this article very useful.  It's clear, concise, and thorough.  I wish all step-by-step how-to documents were that readable!
    Thank you for posting,

  • How to create a service call for more then one item

    Hi All,
            How to create a service call for more then one item. i.e. the service call should be logged for more then one item

    As you noticed this is not possible by design.
    Maybe you could have a dummy item for that purpose and register the real items to be handled in a UDT...
    HTH

  • Hi how to create Mac os look and feel??

    hi
    please tell me how to create Mac os look and feel.
    thx.

    I've heard about a Skin look and feel, but I've never used it. Maybe you should look into that. It would probably be the easiest way to create a custom look and feel, but you won't automatically be able to use Aqua unless you're on a Mac. Sorry.

  • How to create a Document Set in SharePoint 2013 using JavaScript Client Side Object Model (JSOM)?

    Hi,
    The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
    But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
    below my code. I am using Content editor web part and attached my JS file with that :-
    <div>
    <label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
    <input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
    </div>
    <script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
    <script type="text/javascript">
       SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
    // This function is called on click of the “Create Document Set” button. 
    var ctx;
    var parentFolder;
    var newDocSetName;
    var docsetContentType;
    function CreateDocumentSet() {
        alert("In ClientContext");
        var ctx = SP.ClientContext.get_current(); 
        newDocSetName = $('#txtGetDocumentSetName').val(); 
        var docSetContentTypeID = "0x0120D520";
        alert("docSetContentTypeID:=" + docSetContentTypeID);
        var web = ctx.get_web(); 
        var list = web.get_lists().getByTitle('Current Documents'); 
        ctx.load(list);
        alert("List Loaded !!");
        parentFolder = list.get_rootFolder(); 
        ctx.load(parentFolder);
        docsetContentType = web.get_contentTypes().getById(docSetContentTypeID); 
        ctx.load(docsetContentType);
        alert("docsetContentType Loaded !!");
        ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
    function onRequestSuccess() {       
        alert("In Success");
        SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
        alert('Document Set creation successful');
    // This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args) {
        alert("Document Set creation failed" + + args.get_message());
    Please help !!
    Vipul Jain

    Hello,
    I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
    Value cannot be null.Parameter name: context"...
    Also, I tried removing SP.SOD.executeFunc
    from my code, but no success :(
    Kindly suggest !!!
    Vipul Jain

  • How to create a custom function module with the records in SAP R/3?

    Hi All,
    How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
    Regards
    Sara

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • I created my Apple ID in Ireland, but would now like to switch to a German Apple ID, keeping the same email address. How do I delete my old Irish Apple ID, so I can create a new German one with the same email?

    I created my Apple ID in Ireland, but would now like to switch to a German Apple ID, keeping the same email address. How do I delete my old Irish Apple ID, so I can create a new German one with the same email?

    Welcome to the Apple Community.
    Click on your account name in the top right corner of the iTunes store in the iTunes application on your computer, enter your password and click the "view account" button. Navigate to the Apple ID summary where you have the option to "change country or region".
    In order to change your location, you will need a credit card registered to an address in the location you are trying to change to.
    You cannot change your location if you have credit on your account, if you are unable to spend your credit and leave a balance of zero, contact Apple, which you can do through iTunes Store Support.

  • How to Create one more SOA-INFRA under the same domain in weblogic server

    Hi All,
    Can anybody can guide how to create one more soa-infra under the same domain. In order to maintain my composites to be deployed into
    different domains, I need to create one more soa-infra and deployed all the composites under that one.
    Please let me know if any demo is available for this activity to be gets completed.
    Regards,
    CH

    Hi Vijay,
    There are several composites which needs to be deployed and maintained in the server. So, we I'm trying to maintian
    by deploying composites into 3 different SOA-INFRA's so if one is not accessible, we can look into it and others can access the
    composites from another SOA-INFRA instead of creating domains.
    Let me know what will be feasible way to perform this activity.
    Regards,
    CH

  • How to create a form that will allow the applicant to upload their photo

    I have Adobe Acrobat 9 Pro Extended and I know how to create forms that require text input.
    How to create a form that will allow the applicant to upload their photo? I alo wish to know how to upload a photograph so that I can test the form I created.
    Thank you
    Adrian Watts

    test@ORA10G> with x as (
      2    select '234-1111' as customer, to_date('2-Jan-2008','dd-Mon-yyyy') as call_date, 'Order product' as reason from dual union all
      3    select '234-1132', to_date('3-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      4    select '231-1154', to_date('4-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      5    select '234-1111', to_date('2-Nov-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      6    select '234-1132', to_date('9-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      7    select '231-1154', to_date('9-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      8    select '234-1111', to_date('5-Dec-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      9    select '234-1131', to_date('7-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    10    select '231-1154', to_date('1-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    11    select '234-1111', to_date('8-Jan-2008','dd-Mon-yyyy'), 'Order product' from dual union all
    12    select '234-1131', to_date('3-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    13    select '231-1154', to_date('4-Nov-2007','dd-Mon-yyyy'), 'Forward to Sales' from dual)
    14  --
    15  select customer,max(call_date), reason
    16  from x
    17  where reason = 'Request info'
    18  group by customer, reason;
    CUSTOMER MAX(CALL_ REASON
    231-1154 09-SEP-07 Request info
    234-1131 07-DEC-07 Request info
    234-1132 09-JAN-08 Request info
    test@ORA10G>
    test@ORA10G>pratz

  • How do you reset apple ID password when the safety email address is no longer active?

    How do you resent Apple ID password when the safety email address is no longer active?

    The Best Alternatives for Security Questions and Rescue Mail
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contact Apple support.
        c. Rescue email address and how to reset Apple ID security questions.

  • HT5621 i created a new apple id. The verication email is not send to my email id. So i am unable to use the new apple id

    Hi,
    i created a new apple id. The verication email is not send to my email id. So i am unable to use the new apple id

    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Step 3 is important, no matter whether you do this on a Mac or an iPad / iPhone:
    Important: Before proceeding to the next step, you must download and install a free application. ...
    Important: Before proceeding to the next step, you must download and install the free application by tapping Free followed by tapping Install App. ...

  • When I try to purchase an app using my iphone it asks me for a password for the wrong email address. How do I reset my iphone to show the correct email address/apple ID

    when I try to purchase an app using my iphone it asks me for a password for the wrong email address. How do I reset my iphone to show the correct email address/apple ID

    Thanks for your reply. Having read through relevant topics it suggests that if I sync my iphone with the correct account on my pc it should use that one thereafter. i will try both.

  • Can i create additional apple id's using the same email address for using multiple products with iCloud?

    can i create additional apple id's using the same email address for using multiple products with iCloud?

    Hi Anne,
    I'm pretty sure different eMail addies are needed for different Apple IDs.

  • How to include 3rd party jar package in the native code aiming to generate ane for android

    in my native java code,i need to reference a class in another jar package.Simply to say,i want to make use of member functions of a class of some jar package A in the call function of the native class which have implemented the FREFunction class.To generate the native extension,native java code needs to be compiled to a jar package B.i have tried serveral methods to compile jar package A into B.Howerver my flex project failed to proceed when calling function of package A in the call function of native java code.To be sure of the correctness of the package A and B,i referenced them in a java project with main function and succeeded. at the same time my other call functions of classes impemented FREFunction work well,Then, why did i fail referencing package A?
    in the discussion http://forums.adobe.com/message/3965757, i found the same problem,but i was unable to get a workaround,can anybody give me same help?

    Standard Java does not support jars within other jars.
    Either re-architect your stuff so jars in jars is eliminated, or write a custom classloader that can load from them, or look into 3rd-party solutions, which you can find by searching the net and these forums.

Maybe you are looking for

  • All of my contacts do not show up in icloud

    All of my contacts do not show up in the Icloud. The contacts that do show up only show the phone number. I would think that all of the contct information would show up. What am I doing wrong?

  • 6500 Slide Limitations on Message Recepients

    Hello, I had used N72 and then shifted to 6500 Slide recently. What annoys me is there is a limitation of 20 receipients for a text message. Even if my mailer group is more than 20 it accepts only 20 recepients. My software is 4.84 and i am facing Ha

  • RFC to execute a program

    Hi everyone. Does anyone know if there's a ready made RFC function for executing an ABAP program. I need to run a program on a remote system with parameters from my local system. Any ideas? Thanks, Nachshon.

  • DUMP on trsnsaction KP97

    hie i'm tryin to fix this dump incorrect call up of function module AC_DOCUMENT_CVTYP_GET. does anyone have specific notes i can download

  • Creating output for smartforms in VF02.

    Hi, I am working on billing invoice Smartform through VF02. Now, to define outputs I am going to VF02->GOTO->header->Output. There I am trying to define a output say ZS00 which I initially defined in NACE transaction output type. But I am not able to