Go to the previous topic.    Go to the next topic.

Sending Secure Mail

From your website, make sure that the link to the page the form is in is created with a full path that includes https://. For example, to access a page called mail.html, you would have to link to https://<domain>/mail.html, NOT http://<domain>/mail.html, or simply mail.html. You will use https:// again in your form call.

Your code will look similar to the following:

<form method="post" action=https://<server>/<domain>/cgi-bin/formmail.pl>
  <input type="hidden" name="recipient" value ="<user>@<domain>">
  <input type="hidden" name="subject" value="whatever">
  <input type="hidden" name="return_link_URL" value=https://<server>/<domain>/
yourpage.html>
  <input type="hidden" name="return_link_title" value="Back to your Page">
</form>

In the code above, <server> represents the name of the server your domain rests on. You were given this information when you received your account setup information. <domain> is the full name of your domain.

You may include any of the other fields normally used with form mail.