Make your own free website on Tripod.com
Microsoft Home Microsoft Home
Microsoft FrontPage 2000 Server Extensions Resource Kit

Advanced Administrative Tasks


Setting Up E-mail Options on Windows

Authors using the Microsoft® FrontPage® client program can configure a form so that its contents are sent as an e-mail message. To support sending e-mail from a Web server, an administrator must configure the server extensions to deliver the e-mail to an e-mail transport.

You specify server extensions e-mail settings on Windows®-based servers using the following methods:

  • If you are using an SMTP e-mail transport, use the FrontPage MMC Snap-In to set up your e-mail transport.
  • If you are using a Sendmail e-mail transport, specify e-mail settings in the Registry. You can also configure an SMTP transport using the Registry Editor.

 

The server extensions registry settings for a port are in the subkey \HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\SHARED TOOLS\WEB SERVER EXTENSIONS\PORTS\port. For a table of registry settings set by the server extensions, see the appendix FrontPage Server Extensions Configuration Variables.

FrontPage supplies five registry subkeys for setting up your e-mail transport: SMTPHost, SendMailCommand, MailSender, MailCharSet, and MailEncoding. You set either SMTPHost or SendmailCommand, but not both.

The following table describes how to set these parameters:

 

Variable Definition Sample Values
SMTPHost The name or IP address of a host running an SMTP server or daemon. When a site visitor submits a form whose results are to be sent via e-mail, the server extensions connect to the SMTP server to deliver the mail. By default FrontPage assumes the server is listening on port 25 (the standard for SMTP), but you can override this by appending:xx to the name, where xx is the port to use. mail.example.microsoft.com,

test:10000,

127.0.0.1

SendMailCommand The name of a program on the server machine to which e-mail should be piped. If both SendMailCommand and SMTPHost are set, SendmailCommand takes priority

When the FrontPage Server Extensions receive a form processed as an e-mail message, the server extensions invoke the command, replacing all occurrences of %r with the recipient of the mail. The percent character (%) followed by any other character is replaced by that character.

sendmail %r
MailSender The name to use as the "from" account when sending e-mail. Specifically, it is used as the argument to the SEND FROM: command in SMTP. The default for SMTP is user@host, where user is the current user account and host is the current host name. example@microsoft.com
MailCharSet To override the character set attribute of the content-type header, enter the character set here.  
MailEncoding Use to override the content transfer encoding attribute of the content-type header. You might change from one encoding scheme to another if you know that an e-mail recipient uses a different encoding scheme and cannot interpret your messages.  

 

Administration

  BACK  TOP
 
  Last Updated June 1999
1999 Microsoft Corporation. All rights reserved. Terms of Use. Disclaimer