Small Acorn Jean and Alexander Heard Library
Heard Library Staffweb

Search the staffweb

  


How to add anti-spamming mailtos to your webpage

Locate old coding in your webpage. It will look something like this:

<a href="mailto:mickey.mouse@vanderbilt.edu">mickey.mouse@vanderbilt.edu</a>

Check to see if your library already has a mailto form template.

list of library templates already available

If not, submit a request for template.

form for requesting template

Once you have a template you can use this as a URL to replace the old one:

<https://secureforms.library.vanderbilt.edu/email/genmail.phtml? interface=xx&subject=xx&who=xx>

interface=template name
subject=whatever you want it to be
who=person to whom the email is addressed

The only parameter you MUST include is the who parameter. If you do not specify an interface it will default to the Heard Library interface

The who parameter automatically appends @vanderbilt.edu to whatever values you add. Thus the old mailto above would now look like this:

<https://secureforms.library.vanderbilt.edu/email/genmail.phtml? who=mickey.mouse>

To add a subject and interface, just add the values to the parameters like this:

<https://secureforms.library.vanderbilt.edu/email/genmail.phtml? interface=staffweb &subject=Disney &who=mickey.mouse>

The process is very simple and converting old mailtos to form based mailtos will reduce the amount of spam you recieve.

You can also use this as a form on a page

<form action="https://secureforms.library.vanderbilt.edu/email/genmail.phtml" method="post">

<input type="hidden" name="who" value="dale.poulter">
<input type="hidden" name="subject" value="comment">
<input type="submit" vale="send email">
</form>

The comment can be anything but if it is used with the url option spaces should be converted to %20.

Template values currently available

default (heard) (see example)

staffweb (see example)
science (see example)
peabody(see example)

 

 


Copyright 2005 Jean & Alexander Heard Library, Vanderbilt University