Skip to content

rasta-mouse/EWSToolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EWSToolkit

The EWS Toolkit is a .NET Framework Library that wraps around the EWS Managed API. It contains easy methods and overloads to abuse various EWS functionality in C# or PowerShell tooling.

Example

using Toolkit;

namespace DemoApp
{
    class Program
    {
        static void Main(string[] args)
        {
            var connection = new ExchangeConnection(ExchangeVersion.Exchange2013_SP1);
            connection.SetConnectionCredentials(args[0], args[1].ToSecureString());
            connection.SetAutodiscoverUrl(args[0]);

            var mail = new Email(connection);
            mail.AddRecipient("rasta@rastamouse.me");
            mail.SetSubject("Test Email");
            mail.SetBodyFromText("This is a test email");
            mail.Send();
        }
    }
}

About

Abusing Exchange via EWS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages