Scala MS-Exchange

Making working with Exchange easier.

License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.github.frankivo
ArtifactId

ArtifactId

scala-ms-exchange
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

Scala MS-Exchange
Making working with Exchange easier.
Project URL

Project URL

https://github.com/frankivo/scala-ms-exchange
Source Code Management

Source Code Management

https://github.com/frankivo/scala-ms-exchange

Download scala-ms-exchange

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.frankivo/scala-ms-exchange/ -->
<dependency>
    <groupId>com.github.frankivo</groupId>
    <artifactId>scala-ms-exchange</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.frankivo/scala-ms-exchange/
implementation 'com.github.frankivo:scala-ms-exchange:1.0.0'
// https://jarcasting.com/artifacts/com.github.frankivo/scala-ms-exchange/
implementation ("com.github.frankivo:scala-ms-exchange:1.0.0")
'com.github.frankivo:scala-ms-exchange:jar:1.0.0'
<dependency org="com.github.frankivo" name="scala-ms-exchange" rev="1.0.0">
  <artifact name="scala-ms-exchange" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.frankivo', module='scala-ms-exchange', version='1.0.0')
)
libraryDependencies += "com.github.frankivo" % "scala-ms-exchange" % "1.0.0"
[com.github.frankivo/scala-ms-exchange "1.0.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.1
com.microsoft.ews-java-api : ews-java-api jar 2.0

Project Modules

There are no modules declared in this project.

scala-ms-exchange

Scala wrapper for microsoft.exchange.webservices

Easy to use.

For example, this is how you delete all mails with subject "test" and older than 30 days:

import com.github.frankivo.Email.Actions
import com.github.frankivo.EmailList.Filters
import com.github.frankivo.Exchange

new Exchange("[email protected]", "pass", "https://server/EWS/Exchange.asmx")
      .getInboxItems
      .withSubject("test")
      .minAge(30)
      .foreach(_.delete())

Versions

Version
1.0.0