Welcome, Guest. [ Log In ]
Question   Why does my Frontpage email form not work?
Search KBase

Top 5 in this Area:
1. Do you support FrontPage?
2. Why does my Frontpage email form not work?
3. How do I publish my FrontPage pages to the Internet?
4. Why can't I use FTP or a shell account to upload, edit, or move FrontPage pages?
5. Front Page Tutorial

Why does my Frontpage email form not work?
If you get this message:

Cannot run the FrontPage Server Extensions on this page:

It means you are trying to use a feature of Frontpage that Microsoft currently will not support on UNIX.

Because they don't have a list of features that do or don't work between versions of Frontpage, there is no way for us to know for sure, but we're fairly certain that email forms are the only feature that won't work.

You can instead use our nearly-identical, FREE Formmail script!

Last updated: Mar 25, 2002.

User Post (2004-05-28 23:48:26 by josh)
It DOES Work, and it is explanined in the DOC's
Your Administrator must add the following line to frontpage.cnf, on my system its located at /usr/local/frontpage/version4.0

SendMailCommand:/usr/sbin/sendmail %r

Setting Up E-mail Options on UNIX

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 e-mail settings in the FrontPage Server Extensions configuration file, which is
/usr/local/frontpage/version4.0/frontpg.cnf by default.

FrontPage supplies five configuration variables 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, such as sendmail on UNIX. 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,


SendMailCommand The name of a program on the server machine to which e-mail should be piped. Typically this will be sendmail on
UNIX, but it could be any program. 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.

The mail message is passed to the command as standard input..
/usr/lib/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.
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