r2.SetType(new JIVariant(JXCdoEnum.CdoRecipientType.CdoCc.intValue()));
// Each recipient added must be resolved before it can be used.
// 0 == false to inhibit dialog boxes from popping up
r1.Resolve(new JIVariant(0));
r2.Resolve(new JIVariant(0));
// set the attachment
// Attachments attachments = new AttachmentsProxy(message.getAttachments());
// Attachment attachment = new AttachmentProxy(attachments.add(null, null, null, null));
// attachment.setSource("c:\\temp\\attach.doc");