Sending an email message with highpriority using Exchange API for java
I wan to set my email priority. I am using API for exchange server. I suppose with this method "msg.setImportance(value);" i can resolve my prob. but I did not handle the syntax. Please, someone if can explain to me how I do that ExchangeService service = new ExchangeService(); ExchangeCredentials credentials = "email", "pass"); service.setCredentials(credentials); service.setUrl(new java.net.URI("https://"server" + "/EWS/Exchange.asmx")); service.setTraceEnabled(true); EmailMessage msg = new EmailMessage(service); msg.setImportance(value); msg.setSubject("Hello world!"); msg.setBody(MessageBo
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.