----------------------------------
/// Sending mails using webmedia.
mailProperties.FromAddress = " ";
mailProperties.EmailAddress = " " ;
mailProperties.Mailbox = " " ;
mailProperties.RouteInfo = "Oubound queue";
mailProperties.Subject = "subject";
mailProperties.EmailBody = "xyz";
mailProperties.Media = "email";
mailProperties.FirstName = " ";
mailProperties.LastName = " ";
RequestSubmit submit = RequestSubmit.Create("email", mailProperties);
IMessage response = mailProtocol.Request(submit, new TimeSpan(0, 0, 10));
//I am getting eventAck as response.
----------------------------------
/// Sending mails using openmedia.
KeyValueCollection collection = new KeyValueCollection();
collection.Add("Priority", 1);
collection.Add("Subject", "test");
collection.Add("FromPersonal", "project");
collection.Add("To", "xyz.domain.com");
RequestSubmit requestSubmit = RequestSubmit.Create(interactionProtocol.ProxyId, null, ixn, "Inbound e-mails",101, "email", "Inbound", "InboundCollaborationReply", true, DateTime.Now, collection, null, new KeyValueCollection(), new KeyValueCollection());
IMessage response = interactionProtocol.Request(requestSubmit);
// I am getting EventAck where I am getting interactionID (id1). In log it states that id1 not found in the database.
Thanks,
Sanjay.