daily pastebin goal
21%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 141 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. Service service = new Service("https://myserver/ews/Exchange.asmx", "user", "password");
  2.  
  3. Message message = new Message();
  4. message.setSubject("Test");
  5. message.setBody(new Body("Body text"));
  6. message.getToRecipients().add(new Mailbox("John@mydomain.com"));
  7. message.getCcRecipients().add(new Mailbox("Mark@mydomain.com"));
  8.  
  9. ItemInfoResponse response = service.send(message);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top