Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Mails struck in Drafts folder after Transport Agent installed in Exchange Server 2013

$
0
0

Hi all,

I created Transport Agent and installed successfully in exchange server 2013.

After that mails are struck in drafts folder.

I thought because of My Custom transport Agent , then i  Uninstall Transport agent.

but still no use.

I restart Microsoft Exchange Transport Service and restart my server also.

Here is the code i used

 public sealed class MyAgentFactory : RoutingAgentFactory
    {
        public override RoutingAgent CreateAgent(SmtpServer server)
        {
            return new MyAgent();
        }
    }
    public class MyAgent : RoutingAgent
    {
        public MyAgent()
        {
            this.OnSubmittedMessage += new SubmittedMessageEventHandler(this.MySubmittedMessageHandler);
        }

        public void MySubmittedMessageHandler(SubmittedMessageEventSource source, QueuedMessageEventArgs e)
        {
            e.MailItem.Message.Subject = "This message passed through my agent: " + e.MailItem.Message.Subject;
        }
    }

I search in google about mails struck in drafts folder, all replies are 

restore Default Receive Connectors. How can i restore it.

here is the link i see

http://community.spiceworks.com/topic/309145-exchange-2013-messages-stuck-in-drafts




Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>