Reputation: 111
I am adding search alert pro grammatically and when alert is added then system send notification email which tells user to your search alert added successfully , now i want to change the content of this notification email or disabled to send this email.
Email Content:
'System Account' has subscribed you for alert 'My News Alert' on '' .
You will receive alerts in e-mail. The timing and criteria for the alerts depend on the settings entered when the alert was added.
I have tried looking at alerttemplates.xml but that ONLY modify the email alerts, NOT the alert confirmation email.
Btw, I am using SharePoint 2007.
How can I do this?
Thanks
Upvotes: 0
Views: 788
Reputation: 5283
you can use newAlert.Update(false); for more details refer link below
SharePoint Alert customization
Upvotes: 2