Email links and forms
The form processing script Form2Mail.pl has been modified to allow
recipient values to be submitted without the @domain.name portion of
the address. This is intended to reduce the amount of Unsolicited Commercial
Email web site managers receive. Code has been added which will check
the recipient variables for the existence of an @ symbol; if non-existent “@evergreen.edu” will
be added to the value. This allows existing forms to function with
the new script without modification.
In addition to the changes made to Form2Mail, an ASP file, Contactsm.asp,
has been created to facilitate the reporting of problems with various
web pages. The ASP file will take its input from the query string passed
via the invoking URL, allow the user to enter their information, and pass
it all to form2mail.pl.
(Need more information about Form2Mail?)
Form2mail.pl Usage
No changes need be made to existing forms for them to work with the
modified Form2Mail script. However, if users decide that they would
like to remove their email address from any forms they’ve created
this can safely be done. The syntax of the recipient value should look
similar to this:
<input type="hidden" name="recipient" value="scottgo,orrs,scotto">
Where the value of the tag is a comma separated list of valid aliases
in the Evergreen.edu domain.
Contactsm.asp Usage
To use contactsm.asp you must create a link to the file using the following
syntax:
http://www.evergreen.edu/scripts/contactsm.asp?sm=ALIAS&sub=SUBJECT&rp=URL
Note that the question mark (?) designates the begining of the query
string, while ampersands (&) separate the variable=value pairs.
The sm= section of the query string stands for Site Master. This is
the only part of the query string that is required. The value of sm=
should be the alias of your email account. For example, if your email
address is bob@evergreen.edu then you should use ‘bob’ as
the value of sm=.
The sub= section of the query string stands for Subject. Use this to
specify a custom subject for the subitted email. This is optional though,
and if you do not specify a subject using sub= then the subject will
be "Contact Web Site Manager".
The rp= section of the query string stands for Return Page, that is
the page you wish users to return to after submitting the form. If used,
the value of rp= must be a full URL, including the http:// and Fully
Qualified Domain Name. For example, to return the user to Evergreen’s
home page use http://www.evergreen.edu as the value of rp=. The part
of the query string is also optional; if you do not specify a return
page then the user will be returned to the original page.
|