SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to change the first message when you create a new alert. See example below:

Tried this for making a custom alert

on added posts:

And this works fine, but you cannot change the first alert message here. Any Ideas about where to change this?

Alert 'PostsNinja' has successfully been added on 'ImageBlog'. You will receive alerts according to the delivery method, timing and criteria that were selected when the alert was created. You can change this alert or any of your other alerts on the My Alerts on this Site page.

I know how to do this for item added by using the alerttemplate xml file, but can not find for the first message.

share|improve this question
up vote 2 down vote accepted

What you need to do is to avoid sending a confirmation automatically when creating the alert:

var newAlert = currentUser.Alerts.Add();
bool sendmail= false;

Then send the subscription manually instead using:

SPUtility.SendEmail(myWeb,headers,"You got mail");

The email template can for example be stored in a resource file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.