Here some code how you would automate outlook to send email. Hope this help outs. Please leave me comments it this help you. I mint but some more code up if there more some one else

            try
        {
        rm = new ReleaseManager();
        IDispatch ol = null;
        try {
             ol = new IDispatch(rm, "Outlook.Application");

            // ol.getNamespace("MAPI")
        }
        catch (Exception e)
        {
            e.printStackTrace();
           
        }
        if (ol == null)
        {
            System.out.println("Not able to get Outlook Object. This is because you do not have installed.");
            return;
        }
        System.out.println("Got Outlook Application");
        try
        {
            String y = new String("MAPI");
            Object[] param = new Object[] { y };
            IDispatch ns = (IDispatch)ol.method( "getNamespace", param );
//            ns.logon "","",true,false
            String s = new String("");
            String s2 = new String("");
            Boolean b = new Boolean(true);
            Boolean b2 = new Boolean(false);
            System.out.println("Done: ns.logon \"\",\"\",true,false");
            param = new Object[] { s, s2, b, b2};
            ns.method("logon", param);
           
           
//            Set newMail = ol.CreateItem(0)
            System.out.println("Doing: Set newMail = ol.CreateItem(0)");
            IDispatch newMail = (IDispatch)ol.method("CreateItem", new Object[] {new Integer(0) });
           
            // Set HTML Body
            // newMail.HTMLBody = strCharacters & vbCrLf
            System.out.println("Doing: newMail.HTMLBody = strCharacters & vbCrLf");
            newMail.put("HTMLBody", new String("<H1>Hello Test</H1>"));
           
            // newMail.Subject = Subject
            System.out.println("Doing: newMail.Subject = Subject");
            newMail.put("Subject", new String("JAVA Outlook test"));

           
           
//            Set myRecipient = ns.CreateRecipient(x)
            System.out.println("Doing: Set myRecipient = ns.CreateRecipient(x)");
            IDispatch myRecipient = (IDispatch)ns.method( "CreateRecipient", new Object[]{ new String("abc@abc.com") } );
           
       
           
//            myRecipient.Resolve
            System.out.println("Doing: myRecipient.Resolve");
            myRecipient.method("Resolve", null); //Object tmp =
           
//            If Not myRecipient.Resolved Then
            System.out.println("Doing: myRecipient.Resolved");
            Boolean Resolved = (Boolean)myRecipient.method( "Resolved", null );
            System.out.println("Resolved Value:"+Resolved);
       
//            newMail.Recipients.Add(myRecipient)
            System.out.println("Doing: newMail.Recipients.Add(myRecipient)");
            IDispatch Recipients = (IDispatch)newMail.get( "Recipients");

            System.out.println("Doing: Recipients.Add(myRecipient)");
            Recipients.method( "Add", new Object[]{myRecipient});
           
//            newMail.Send
            System.out.println("Doing: newMail.Send");
            newMail.method( "Send", null);

            Recipients.release();
            myRecipient.release();
            newMail.release();
            ns.release();
            ol.release();
            System.out.println("Finish");