Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member200338
Active Contributor
0 Kudos
2,038
Sometimes during system refresh or upgrade, basis team forget to turn off the mail settings in SCOT. This results in sending emails from non productive environment and creates a big impact for business and increases support team effort. In this blog, I would like to explain how to trace the system which has triggered the email and steps to remove from user's inbox.

  1. Get an original email received by the user. This needs to be received as mail attachment and not forwarded

  2. Open the email and click on File->Properties

  3. In the Internet headers section, scroll down until you find Date, From, Subject.

  4. Note the IP address in the Received section.




use function module RFC_IP_TO_HOST to get the host name or logon to transaction OS01(Application server) to find the host name. This would help in finding the system which triggered email. There are many other ways as well which you could search in SCN.

Removing emails

Below procedure would help to remove the non production environment emails from user's inbox. This might not be helpful if there are too many users involved. You may consider exporting and importing rule.

  1. Open outlook and click on Rules->Manage Rules & Alerts

  2. Select New rule

  3. Select start from a blank rule




4. Select "Specific words in the message header"



5. Click on specific words under Step 2 and enter the IP address which you have found earlier and press add button.



6. Select the required action. I have chosen to delete it



7. Press next and give a name to this rule.



8. Press Finish button to run the rule.
3 Comments
Labels in this area