Package org.jxchange.client.cdo121

Examples of org.jxchange.client.cdo121.JXCdoRecipient.SetName()


            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);

            // r1 will be the 'to' address and r2 will be 'cc'-ied
            r1.SetType(new JIVariant(JXCdoEnum.CdoRecipientType.CdoTo.intValue()));
            r2.SetType(new JIVariant(JXCdoEnum.CdoRecipientType.CdoCc.intValue()));
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.