You define the settings for sending the login credentials via e-mail or SMS in the dialog
.![](pictures/LANconfig_pspot_email_sms.png)
You have following configuration options:
- Max. e-mails send: Here, enter the maximum number of e-mails that the Public Spot module may send per hour to users authenticating via e-mail. Lower the value to reduce the number of new users per hour.
- Max. requests per MAC: Specify how many different sets of credentials the device can provide to a MAC address within one day.
- User has to accept the terms of use: If you select this option, the Public Spot login page displays an additional option, which prompts the user to accept the terms of use before registering via e-mail/SMS.Note: Remember to upload a page with terms and conditions onto the device before you enable this option. Otherwise, the device will only show the user a placeholder instead of the terms and conditions.
- Sender e-mail address: Enter the e-mail address that your e-mail contains as the return address, e.g. support@providerX.org.
- Name of sender: Specify the name shown to your users as the sender of the e-mail, e.g. Provider X. If you leave this field blank, the device automatically enters the default text as described in the following section.
- E-mail subject: Type the subject line for the e-mail. If you leave this field blank, the device automatically enters the default text as described in the following section.
- E-mail body: Type the message text for the e-mail. You can use the following variables:
- $PSpotPasswd
- Placeholder for user-specific password for the Public Spot access.
- $PSpotLogoutLink
- Placeholder for the logout URL of the Public Spot in the form http://<IP address of the Public Spot>/authen/logout. This URL enables Public Spot users to log off from the Public Spot. This may be useful if the session window (which also contains this link) that is normally displayed after a successful login is blocked by the browser or closed by the user.
- Use domain table as: Specify whether the device uses the table E-mail domains as a blacklist or whitelist. This definition sets which e-mail addresses or domains may be entered by your Public Spot users in order to register.
- Blacklist: Registration is permitted on all e-mail domains except those in this table.
- Whitelist: Registration is possible only via the e-mail domains that are present in this table.
- Gateway e-mail address: Here you enter the IP address or the hostname of the gateway server, which converts the e-mail into SMS. If the provider expects to find the mobile phone number in the local part of the e-mail, you can use the variable $PSpotUserMobileNo.
- Country codes: In this table, enter the country codes accepted by the device. Country codes can be entered directly or with a prefixed double-zero, for example for Germany 49 or 0049.Note: This table acts as a whitelist. You must define country codes in order for the login data to be delivered.