locked
Hub Transport Rule to Append Subject for a Recipient RRS feed

  • Question

  • Hello,

    I am having some trouble getting a HT rule to work properly. I want to append text to the subject of an email if received by a certain SMTP alias address. I am using the condition, "when a recipient's address contains specific words". The SMTP alias is not the primary email address for the mailbox. Thank you in advance for all assistance. 


    Jason

    Monday, December 3, 2012 4:55 PM

Answers

  • Hello,

    Sorry for the delay but I did find a solution.

    Explanation of Problem.

    User's Exchange mailbox is someone@aaa.com

    Primary SMTP Alias: someone@aaa.com
    SMTP Alias: someone@bbb.com (old company name)

    We phased out the secondary company name many years back but this user still receives email on the old domain. We wanted a way for the user to easily identify the senders who are still using the old company email address (someone@bbb.com).

    Solution:

    Created a Hub Transport Rule:

    Condition:
    "When The Message header Matches Text Patterns"
    To matches someone@bbb.com

    Action:
    "Prepend Message Subject with String"
    [via someone@bbb.com]

    I hope all of this makes sense.


    Jason

    • Marked as answer by emma.yoyo Wednesday, December 12, 2012 2:00 AM
    Tuesday, December 11, 2012 4:29 PM

All replies

  • I am using the condition, "when a recipient's address contains specific words". The SMTP alias is not the primary email address for the mailbox.

    Hi Jason,

    Please use the condition "sent to people" instead.

    If you have any feedback on our support, please click here


    Frank Wang
    TechNet Community Support

    Tuesday, December 4, 2012 8:57 AM
  • Hi Jason,

    Any updates?


    Frank Wang
    TechNet Community Support

    Thursday, December 6, 2012 1:50 AM
  • I will work with your suggestion and update the thread on Thursday.

    Jason

    Thursday, December 6, 2012 1:53 AM
  • Frank,

    You are the man!! That worked like a champ!!


    Jason

    Thursday, December 6, 2012 7:56 PM
  • Frank,

    I just ran into an issue now. It is changing all emails sent the primary SMTP address as well for the mailbox. Do you have another suggestion?


    Jason

    Thursday, December 6, 2012 8:37 PM
  • Hi Jason,

    Could you please provide detailed information about your question? An example is better.

    And the sender is an external one or internal one?


    Frank Wang
    TechNet Community Support

    Friday, December 7, 2012 9:15 AM
  • Hi Jason,

    Any updates?


    Frank Wang
    TechNet Community Support

    Tuesday, December 11, 2012 1:44 AM
  • Hello,

    Sorry for the delay but I did find a solution.

    Explanation of Problem.

    User's Exchange mailbox is someone@aaa.com

    Primary SMTP Alias: someone@aaa.com
    SMTP Alias: someone@bbb.com (old company name)

    We phased out the secondary company name many years back but this user still receives email on the old domain. We wanted a way for the user to easily identify the senders who are still using the old company email address (someone@bbb.com).

    Solution:

    Created a Hub Transport Rule:

    Condition:
    "When The Message header Matches Text Patterns"
    To matches someone@bbb.com

    Action:
    "Prepend Message Subject with String"
    [via someone@bbb.com]

    I hope all of this makes sense.


    Jason

    • Marked as answer by emma.yoyo Wednesday, December 12, 2012 2:00 AM
    Tuesday, December 11, 2012 4:29 PM
  • Hi Jason,

    Thanks for sharing. :)


    Frank Wang
    TechNet Community Support

    Wednesday, December 12, 2012 2:00 AM
  • I was able to apply a prepend by the entire domain in which the user's get notified when the email was sent to the old domain (alias) just as explained by Jason's answer here but i'm describing the steps I took in a 1,2,3 fashion:

    Assuming that you are already logged into the Exchange Online Admin Center Mail flow << Rules

    Steps listed:
    1) Add a rule
    2) select Add Rights Protection to this Message
    3) Enter the name of the new Rule
    4) Apply this rule if
    5) The Recipient domain is
    6) type in the domain click add then save.
    7) Do the following
    8) Prepend the subject of the message with..
    ***Sent to domain bbb******
    Click O.K
    Sav

    Monday, November 14, 2016 5:22 AM