In our Exchange RoutingAgent, we would like to be able to bounce an email back to the sender in the event of an unexpected exception. We would also like to be able to send the bounce message to some pre-defined admin email too if possible. Is there any way to bounce a message in the OnSubmittedMessage or the OnResolvedMessage events? I am hoping there is some method in the Exchange libraries to easily achieve this, or is there some way to create a new MailItem and send it to the original sender and possibly an admin?
Exchange Transport Agent Bounce MailItem
335 views Asked by cjablonski76 At
1
There are 1 answers
Related Questions in C#
- Add additional fields to Linq group by
- couldn't copy pdb file to another directory while consuming wcf web service
- Why are the aliases for string and object in lowercase?
- WPF MessageBox Cancel checkbox check
- Resolve object using DI container with object instance
- Creating a parametrized field name for a SELECT clause
- Does compiler optimize operation on const variable and literal const number?
- Get data from one form to another form in C#
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Deleting Orphans with Fluent NHibernate
Related Questions in EMAIL
- how to send email from localhost using codeigniter?
- PowerShell EWS Save as for e-mails
- I want to develop an automated email application in asp.net with c#
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- Postfix - cannot connect to server to receive email
- PHPMailer send mail with array ( $_POST['email'] )
- Could Not Instantiate Mail Function - PHPMailer - With Attachments - Only Google Chrome
- encrypted email with entrust certificate is not opening with MS Outlook
- Disconnect Client connected to cgi application
- send a message using freemarker
Related Questions in EXCHANGE-SERVER
- Create Exchange Message Items with EWS and mark them for deletion
- How to import meetings into office365 (EWS and Powershell?)
- EWS Service.FindItems() throws an exception when using SearchFilter.IsEqualTo
- Is there any way to get the list of available equipment in exchange server?
- How to download >1 MB Email attachment using EWS in C#
- Access Exchange mailbox information
- Programmatically determining whether or not Exchange is installed
- How to read from exchange server asynchronously using IMoniker and IStream Interface
- EWS Office 365 Impersonation not working
- calendar schedule request send to the user is accepted or not?
Related Questions in EXCHANGE-SERVER-2010
- Can't call EWS service with API Java SSL and certificates
- How to download >1 MB Email attachment using EWS in C#
- Create contacts in Exchange through EWS
- imap_search problems with Exchange 2010
- How to search for an Exchange appointment for an iCalUid using Java EWS API?
- how to give calendar permissions administratively? Outlook 2010/Exchange 2010
- php ews return more than 1,000 contacts from Exchange Server
- How to use PowerShell to set-mailbox alias Exchange 2010
- Exchange Web Services (EWS) client doesn't work on server, but works locally
- EWS Managed API Double Hop
Related Questions in EXCHANGE-TRANSPORT-AGENTS
- Transport agent cannot find a certificate in local store
- How do I talk to my TransportAgent?
- Exchange Server 2007 Transport Agent Issue
- Editing an SMTP header with an Exchange 2007 Transport Agent
- Is it possible to implement custom transport agent to update the email in Office365?
- Will a transport agent execute before journaling occurs exchange 2013?
- Custom Transport Agent - holding email in mailbox
- Exchange 2010/2013 TransportAgent Content Conversion for Internal Recipients
- Exchange Routing Agent Detect Email Direction
- Exchange Transport Agent Bounce MailItem
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You need to generate a new message to do that there is a sample for this on https://blogs.msdn.microsoft.com/mstehle/2010/03/10/howto-return-to-sender-transport-agent-sample/
You should also be able to use https://msdn.microsoft.com/en-us/library/jj976002(v=exchg.150).aspx
Cheers Glen