After renaming SQL Server 2016 cluster there's still a trace of old name from Database Mail

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



After renaming SQL Server 2016 cluster there's still a trace of old name from Database Mail



I followed the Microsoft Docs and changed the name of a new SQL Server cluster I built from SQLCLUSTER to SQLFC01. I ensured everything was updated in AD and @@SYSTEMNAME returns the correct 'SQLFC01'. I'm running SQL Server 2016 Standard on SP2 and CU2.


SQLCLUSTER


SQLFC01



The problem

When sending myself a test email via Database Mail, the name of the email shows as: "SQLCLUSTER SQL Server Admin" instead of "SQLFC01 SQL Server Admin"



I'm guessing there are remnants of the name somewhere on the server... though I've spent hours searching online and the registry but can't find anything. I'm using the same SMTP server on a handful of other servers and the email name on those show correctly as whatever their machine name is. I tried restarting services and rebooting the entire cluster - no luck.



Any ideas what I could do to fix this?



Here's what the emails look like compared to other servers using the same SMTP



Proof @@SERVERNAME shows SQLFC01





is this a WFCI or just an Instance in a WSFC?
– scsimon
Aug 8 at 3:57




1 Answer
1



I expect this is simply the Display Name or the Description for the database mail account.



In SSMS



I expect you will see SQLCLUSTER SQL Server Admin in the Display Name of the SMTP or in the Description of the Account Name. Change it to what ever you want.





This was actually it! Spending too much time on this build the last two days had me thinking it was something more involved and I looked over the basics. This was what I needed - much appreciated.
– TheRealCode
Aug 8 at 15:21





Awesome @TheRealCode. The clue for me was the work Admin in your post. That looked like something someone custom wrote.
– scsimon
Aug 8 at 15:23






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

make 2 or more post in bootsrap

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3

Firebase Auth - with Email and Password - Check user already registered