ews 1.0.10 copy "ews: ^1.0.10" to clipboard
ews: ^1.0.10 copied to clipboard

outdated

A Dart client library to access Microsoft Exchange web services. The library works against Office 365 Exchange Online as well as on premises Exchange.

example/example.dart

import 'package:ews/Http/WebCredentials.dart';
import 'package:ews/ews.dart';

void main() async {
  final credentials =
      WebCredentials("---username---", "---password---", "---domain---");
  final service = ExchangeService.withVersion(ExchangeVersion.Exchange2007_SP1)
    ..Url = Uri.parse("https://outlook.office365.com/ews/exchange.asmx")
    ..Credentials = credentials
    ..TraceFlags = [TraceFlags.EwsRequest, TraceFlags.EwsResponse]
    ..TraceEnabled = true;
  final folder = new Folder(service);
  folder.DisplayName = "My Folder";
  await folder.SaveWithWellKnownFolderName(WellKnownFolderName.Notes);
}
12
likes
0
pub points
37%
popularity

Publisher

verified publisherglynskyi.com

A Dart client library to access Microsoft Exchange web services. The library works against Office 365 Exchange Online as well as on premises Exchange.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

intl, synchronized, timezone, uuid_enhanced, xml

More

Packages that depend on ews