Using Form Mail at SPH
SPH uses HTMail for form mail. If you would like to use a web form on your SPH web site that sends form data to a particular e-mail address, following these steps:
- E-mail sph.web@umich.edu (or use our Request for Web Services Form
) and request that the e-mail addresses you want your form data sent to be added to the list of HTMail-enabled e-mail addresses.
- Use the following for the value of the action attribute in your form statement:
http://www.sph.umich.edu/cgi-bin/htmail/emailaddress (substituting the real e-mail address for "emailaddress").
- Be sure to use a "from" field. If you are asking your users to enter their e-mail address into your web form, name that field "from." If your form is anonymous, use a hidden field named "from" with the value "nobody@sph.umich.edu."
- You can also use a hidden field named "subject" to add a subject line to your form data.
- You can also use a hidden field named "successURL" to have users go to a page you have created after they click the Submit button. The default page that users will be sent to is http://www.sph.umich.edu/success.html.
Please see our Creating Web Forms With Macromedia Dreamweaver tutorial for more detailed instructions.
Please feel free to contact sph.web@umich.edu for more information.
|