16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

658 Part VII: Information Management in SharePoint <strong>Products</strong> <strong>and</strong> <strong>Technologies</strong><br />

Using the Comm<strong>and</strong> Line to Configure E-Mail Settings for Windows<br />

SharePoint Services<br />

You can also configure e-mail settings from the comm<strong>and</strong> line by using the e-mail<br />

operation with Stsadm.exe. The e-mail operation takes the following required<br />

parameters: outsmtpserver (the out-going SMTP server), fromaddress (the e-mail<br />

address to send messages from; can be an unmonitored address), replytoaddress<br />

(the e-mail address to send replies to; must be a monitored address), <strong>and</strong> codepage<br />

(the codepage to use). In addition, you can use the optional url parameter to specify<br />

settings for a particular virtual server.<br />

Note The valid codepages are listed on the Configure Default E-mail<br />

Server Settings page in SharePoint Central Administration, in the Character<br />

set box. To specify a codepage on the comm<strong>and</strong> line, use the number for<br />

the character set, rather than the full name. For example, use the number<br />

65001 to specify the codepage for 65001 (Unicode UTF-8).<br />

The e-mail operation uses the following syntax:<br />

stsadm.exe -o e-mail -outsmtpserver <br />

-fromaddress -replytoaddress <br />

-codepage [-url ]<br />

For example, to configure the e-mail settings to use the server \\SMTPServer,<br />

<strong>and</strong> to use someone@example.com as both the from <strong>and</strong> the reply-to address, you<br />

would use syntax similar to the following:<br />

stsadm.exe -o e-mail -outsmtpserver SMTPServer<br />

-fromaddress someone@example.com<br />

-replytoaddress someone@example.com<br />

-codepage 65001<br />

To set the http://myserver virtual server to use codepage 65001, you would use syntax<br />

similar to the following:<br />

stsadm.exe -o e-mail -outsmtpserver SMTPServer<br />

-fromaddress someone@example.com -replytoaddress someone@example.com<br />

-codepage 65001 -url http://server_name<br />

SharePoint Site Alerts<br />

SharePoint sites include an alerts feature comparable to the portal site alert mechanism.<br />

The SharePoint site alerts feature is an e-mail notification service. When users<br />

who have signed up for alerts create, modify, or delete documents, lists, or items on<br />

a server running Windows SharePoint Services, they receive messages informing<br />

them of these changes. Users can create alerts to track lists, list items, document

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!