This method call results in a CreateItem call to EWS.Ĭonsole.WriteLine("An email with the subject '" + message.Subject + "' has been sent to '" + message.ToRecipients + "' and saved in the SendItems folder.") Message.Body = "Are you interested in Send the email message and save a copy. configuration information by using an ExchangeService object named service.ĮmailMessage message = new EmailMessage(service) Create an email message and provide it with connection This example assumes that service is a valid ExchangeService object and that the user has been authenticated to an Exchange server.
![ad eagetmail ad eagetmail](https://img.informer.com/p3/asplib-tooltip-component-v1.2-main-view.png)
#Ad eagetmail how to
The following code example shows how to use the EmailMessage object to create an email message and the SendAndSaveCopy method to send the message to the recipient and save the message in the Sent Items folder. Send a new email message by using the EWS Managed API EWS Managed API methods and EWS operations for sending email messages Task The methods and operations that you use to send the message are the same whether you're sending a message immediately, or sending a delayed message.
![ad eagetmail ad eagetmail](https://img.youtube.com/vi/SBaARws0hy4/sddefault.jpg)
![ad eagetmail ad eagetmail](https://www.emailarchitect.net/img/smime/disclaimer_editor.png)
You can either send an existing message, such as a message stored in your Drafts folder, or you can create and send an email in one step. Whether you are using the EWS Managed API or EWS, you can send email messages in two ways. Learn how to send new or draft email messages, or to send a delayed email message by using the EWS Managed API or EWS in Exchange.