Transport Agent - Change MIME "From:" and "To:" headers RRS feed

  • Question

  • Hello,

    I would like to write Transport Agent which can change "From:" and "To:" MIME headers but I don't know how can I do it. Here is block of code and print screen of "Locals" in Visual Studio:

    public void OnEndOfHeadersHandler(ReceiveMessageEventSource source, EndOfHeadersEventArgs args)
                foreach (Header header in args.Headers)
                    if (header.HeaderId == HeaderId.From)

    Monday, September 30, 2013 8:07 AM


  • After detailed investigation I found that I have to change these properties in "OnEndOfDataHanlder" method.
    • Marked as answer by PetrSSS Monday, September 30, 2013 12:31 PM
    Monday, September 30, 2013 12:31 PM