Delete-web-send-email: Stsadm property (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.


Topic Last Modified: 2015-03-09


Deletes the site collection if use is not confirmed. This property is used in conjunction with the Dead-site-num-notifications property, which sets the number of notifications before the site is actually deleted.

This property is equivalent to the Automatically delete the site collection if use is not confirmed user interface setting that is located on the Site Use Confirmation and Deletion page of the SharePoint Central Administration Web site.


stsadm -o setproperty

-propertyname delete-web-send-email

-propertyvalue {Yes | No}

**\[-url\]** *\<https://server\_name\>*

The syntax for the getproperty operation is:

stsadm -o getproperty

propertyname delete-web-send-email

**\[-url\]** *\<https://server\_name\>*


You can substitute -pn for -propertyname and -pv for -propertyvalue.

Property values

The following table shows possible values.

Name Value


Gets or sets the name of the property.


  • Yes: Enables the site collection to be automatically deleted.

No: Disables the site collection to be automatically deleted. This is the default setting.


Typically, a path to the URL of the Web application, in the form http://server_name.


To enable the site collection to be automatically deleted, use the following syntax:

stsadm -o setproperty -pn delete-web-send-email -pv yes