简体   繁体   中英

using Exchange ActiveSync in c#

I am trying to use a work email to send confirmation emails programatically in a web app. The mail server is Exchange Server 2007 SP3.

I don't have acces to its configuration and it doesn't seem to implement EWS API.

To give you an example, this is how I the email in order to acces the account on different mobile app clients.

Note that `Domain\Username" input requires only the username, without the domain name.

在此处输入图像描述

This uses Exchange ActiveSync API. Is there a way to use this API to send emails?

All the available resources that I gathered are using EWS API so they aren't much of an use.

One of the reasons you're finding mostly EWS information is that EAS was a major pain in the [well, you know].

There's very detailed information, even with .NET code, but it'll require some work on your part. With a bit of patience, you'll get there.

Take a look at " Implementing an Exchange ActiveSync client: the transport mechanism " which has some .NET examples. The command you need to implement is the SendMail command, detailed on page 49 of the specification . Exchange 2007 SP3 uses version 12.1 of the protocol.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM