[Java] Set From field for a reply message RRS feed

  • Question

  • I'm using the EWS Java API but i've a problem when reply message.

    What I need is to set the From field for the reply message, but in the ResponseMessage type there is no such method for set it.

    EmailMessage message = EmailMessage.bind(service, new ItemId(sMailID));
    ResponseMessage oReplyMessage = message.createReply(false);
    oReplyMessage.setBodyPrefix(MessageBody.getMessageBodyFromText( sText ));

    Thanks in advance

    Monday, December 12, 2011 2:50 PM