Mail for domain

Your site

You can add a mailbox login form on a page on your site. The site can reside on the main domain or any of its subdomains that is connected to Yandex.Mail for Domain (for example, “http://yourdomain.tld”, “http://www.yourdomain.tld” or “http://main.yourdomain.tld”).

HTML code of the form:

<form method="post" action="https://passport.yandex.com/for/yourdomain.tld?mode=auth"> 

<div class="label">Username:</div>
<input type="text" name="login" value="" tabindex="1"/>
<div class="label">Password:</div>
<input type="hidden" name="retpath" value="http://mail.yandex.ru/for/your_domain_name">
<input type="password" name="passwd" value="" maxlength="100" tabindex="2"/> <br>

<label for="a"><input type="checkbox" name="twoweeks" id="a" value=«no» tabindex="4"/>don't remember me</label> (<a href="https://yandex.ru/support/passport/#foreign-pc">what's this</a>)

<input type="submit" name="In" value="Log in" tabindex="5"/> </form>

If you want users who have logged in to the site to also be logged in to their mailboxes, the form should pass the mailbox username and password after entering the site authorization data. The form should be placed in a hidden frame.

If you don't want to put the form on your site, just show users a link to the Yandex.Mail for Domain login page.