Warning 150: MAILTO Error: SMTP Host not defined
Surinder
Posts: 44 Bronze 2
Hi,
Getting the warning above on one of our servers. The SMTP has been declared in the GUI, and the entries are in the registry on the server.
Sending a test message via the GUI works fine, but non of the alerts work from the server
Surinder..
Getting the warning above on one of our servers. The SMTP has been declared in the GUI, and the entries are in the registry on the server.
Sending a test message via the GUI works fine, but non of the alerts work from the server
Surinder..
Shin..
Comments
HKLM\Software\Red Gate\SQL Backup\BackupSettingsGlobal\<instance name>
and see if there is a value for SMTPHost?
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Could it be a permissions problem on the key? what should the security be?
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Is the SMTPHost value returned?
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
i.e. The SMTPSender, BAckup location is not right as well
SMTPHost= SMTPPort=25 SMTPUserName= SMTPPassword= SMTPSender=SQLBackup@EVSQL BackupFolder=C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup BackupFileName= LogDeleteOptions=0 LogDeleteHours=2160 LogDelete=0 LogFolder=C:\Documents and Settings\All Users\Application Data\Red Gate\SQL Backup\Log\(LOCAL)\ MSDBDeleteHours=2160 MSDBDelete=0 MaxDataBlock=0 MaxTransferSize=0 VDITimeout=30 SkipChecks=1
Just checked the settings via the GUI, and it has also gone back to default settings. But the settings in the registry are still correct.
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Red Gate\SQL Backup\BackupSettingsGlobal]
[HKEY_LOCAL_MACHINE\SOFTWARE\Red Gate\SQL Backup\BackupSettingsGlobal\(LOCAL)]
"DataPath"="C:\\Documents and Settings\\All Users\\Application Data\\Red Gate\\SQL Backup\\Data\\(local)"
"ServiceLogin"=""
"CopiedVersion4Settings"=dword:00000001
"BackupFolder"="\\\\vipsii\\SQLServerBackups\\<SERVER>\\<DATABASE>\\"
"BackupFileName"="<TYPE>_<SERVER>_<DATABASE>_<DATETIME yyyymmdd_hhnn>"
"LogFolder"="C:\\Documents and Settings\\All Users\\Application Data\\Red Gate\\SQL Backup\\Log\\(LOCAL)\\"
"LogDelete"=dword:00000000
"LogDeleteHours"=dword:00000870
"LogDeleteOptions"=dword:00000000
"MSDBDelete"=dword:00000000
"MSDBDeleteHours"=dword:00000870
"SMTPHost"="Mail"
"SMTPPort"=dword:00000019
"SMTPUserName"=""
"SMTPPassword"=""
"SMTPSender"="SQL-RG@EVSql"
The server is "Windows 2003 R2 Enterprise x32"
and check if the value for SMTPHost in the registry is changed? Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Just done a test run and the alerts are coming through now as expected.
Thanks,
Surinder..