Help Topics/Hushmail Business/Managing your domain

Integrating Hushmail Business user login and creation into my website

Hushmail
posted this on December 06, 2010 17:54

 

If you are a Hushmail Business customer and you have a website, you can integrate user sign in and account creation into your website very easily. If you integrate the following HTML into your website where you want your user log-in box to appear your users will be able to log into their accounts through your website:

----- Begin HTML code -----

<h1>Sign in to yourwebsite.com webmail</h1>

<form action="https://www.hushmail.com/hushmail/index.php" method="POST">

<label for="hush_username">Email username:</label>

<br/> <input type="text" id="hush_username" name="hush_username"/>

<input type="submit" value="Sign in"/>

<input type="hidden" name="hush_domain" value="yourdomain.com"/>

<input type="hidden" name="hush_exitpage" value="http://yourwebsite.com"/>

</form>
----- End HTML code -----

 

If you wish to create a user account simply enter the email address of the user account you wish to create in the log-in box and you will be given the option to create the account.

Create_Account__-_2.png

Note:

  1. The HTML above does not include the Customer ID as such before a user account can be created, the user creating their account will be required to input the Customer ID on the account creation form.
  2. If you do not wish to require the Customer ID to be entered by users creating accounts, either because your domain administrator is reserving user accounts and providing your users with a PIN Code to create their accounts, or you wish to give anyone with access to the page hosting the log-in box the ability to create an account then you should use the following HTML with your Customer ID included in it:

----- Begin HTML code -----

<h1>Sign in to yourwebsite.com webmail</h1>

<form action="https://www.hushmail.com/hushmail/index.php" method="POST">

<label for="hush_username">Email username:</label>

<br/> <input type="text" id="hush_username" name="hush_username"/>

<input type="submit" value="Sign in"/>

<input type="hidden" name="hush_domain" value="yourdomain.com"/>

<input type="hidden" name="hush_customerid" value="0000000000"/>

<input type="hidden" name="hush_exitpage" value="http://yourwebsite.com"/>

</form>
----- End HTML code -----

 
Topic is closed for comments