Export (0) Print
Expand All

Email: Stsadm operation (Office SharePoint Server)

Office 2007

Updated: February 7, 2008

Applies To: Office SharePoint Server 2007

Updated: 2008-02-07

Operation name: Email

Sets the e-mail configuration settings for your server.

Syntax

stsadm -o email

   -outsmtpserver <SMTP server name>

   -fromaddress <valid e-mail address>

   -replytoaddress <valid e-mail address>

    -codepage <valid code page>

    [-url <URL name>]

Parameters

Parameter name and short name

Value

Required?

Description

outsmtpserver

A valid SMTP server name, such as "mail.example.com"

Yes

The name of the outbound SMTP server.

fromaddress (from)

A valid address, such as "someone@example.com"

Yes

The address you want to appear to e-mail recipients.

replytoaddress (replyto)

A valid address, such as "someone@example.com"

Yes

The e-mail address to which you want e-mail recipients to reply.

codepage

A valid code page value that is supported by Microsoft Office SharePoint Server 2007.

Yes

Select the appropriate character set for your language.

The default setting is 65001 (Unicode UTF-8).

NoteNote:

To access a list of all available code pages, go to the Character set section on the Outgoing E-mail Settings page of the SharePoint Central Administration Web site.

url

A valid URL name, such as http://server_name

No

A valid URL to a Web application.

Remarks

The outgoing e-mail feature uses an outbound Simple Mail Transfer Protocol (SMTP) service to relay e-mail alerts and notifications.

Outgoing e-mail support can be enabled at both the server farm level (available from the Operations section of Central Administration) and at the Web application level (available from the Application Management section of Central Administration). Therefore, when the url parameter is used, you can specify different settings for a specific Web application.

Outgoing e-mail settings at the Web application level override those set up at the server farm level.

Examples

To configure e-mail settings for a specific Web application, use the following syntax:

stsadm -o email -outsmtpserver mail.example.com -fromaddress someone@example.com -replytoaddress someone@example.com -codepage 65001 -url http://server_name

To configure e-mail settings for the entire farm, use the following syntax:

stsadm -o email -outsmtpserver mail.example.com -fromaddress someone@example.com -replytoaddress someone@example.com -codepage 65001

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft