Examples of JXCdoRecipients


Examples of org.jxchange.client.cdo121.JXCdoRecipients

            // set message subject and body
            message.SetSubject(new JIString("Test JXCdoMessage").Variant);
            message.SetText(new JIString("This is a test message sent from a Java program through j-XChange.").Variant);

            // set message recipients
            JXCdoRecipients recipients = new JXCdoRecipients(jxCdoSession,message.GetRecipients());
            JXCdoRecipient r1 = new JXCdoRecipient(jxCdoSession,recipients.Add(JIVariant.OPTIONAL_PARAM(), JIVariant.OPTIONAL_PARAM(), JIVariant.OPTIONAL_PARAM(), JIVariant.OPTIONAL_PARAM()));
            JXCdoRecipient r2 = new JXCdoRecipient(jxCdoSession,recipients.Add(JIVariant.OPTIONAL_PARAM(), JIVariant.OPTIONAL_PARAM(), JIVariant.OPTIONAL_PARAM(), JIVariant.OPTIONAL_PARAM()));

            // set recipients' addresses
            r1.SetName(new JIString("dont@spam.com").Variant);
            r2.SetName(new JIString("dont@spam2.com").Variant);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.