Network Management
Clear all fields in Configure Default Send Email Action page
This article provides a workaround to delete all fields in 'Configure Default Send Email Action' page.
First published date
Last published date
Overview
Product section
Cause
Some users will have SMTP Servers set in Web Settings -> MANAGE SMTP Servers Page.
- But this alone does not mean its set as a default in the Orion the environment.
- Users have to set an SMTP Server to DEFAULT with the 'Make Default' Button.
Once done they will show in the WebSettings Tables, otherwise, no SMTP records will exists in the WebSettings Table.
Resolution
- Create a backup of your Orion database.
- Go to Start > SolarWinds Orion > Advanced Features > Database Manager.
- Click Add Server (Add Default Server).
- Right-click on SolarWindsOrion Database.
- Choose New Query.
- Copy and Paste the following query:
-
SELECT TOP 1000 * FROM [dbo].[WebSettings] where settingname like '%defaultEmail%'
-
- Click Execute Query and review and note the settings here.
- Delete the values from the SettingValue column.
-
DELETE FROM [dbo].[WebSettings] where [SettingName] like '%defaultEmail%'
-
- Values here should NOT simply be edited to blank, we have to delete whole records referencing default email.
- The whole settings need to be removed due to HA feature.
- If there are partial or blank Values its will break HA, because HA is expecting no records or existing values in records, so delete statement is required here over UPDATE Statement to blank the SMTP Server out.
- Due to HA not expecting empty (which is not possible to do without direct delete in SQL.
- Defaults should now be removed.