Functions

Get a Tempcode list of the available mail domains.

get_mail_domains(\ID_TEXT $type, integer $points_left) : \Tempcode
package pointstore
set pop3 forw

Parameters

$type

\ID_TEXT

The type of mail domain

$points_left

integer

Description

Returns

\TempcodeThe Tempcode list of available domains

Check to see if the member already has an account of this type. If so, an error message is shown, as you can only own of each type.

pointstore_handle_error_already_has(\ID_TEXT $type) 
package pointstore
set pop3 forw

Parameters

$type

\ID_TEXT

The type of mail domain

Check to see if the specified e-mail address has already been purchased. If so, spawn an error message.

pointstore_handle_error_taken(\ID_TEXT $prefix, \ID_TEXT $suffix) 
package pointstore

Parameters

$prefix

\ID_TEXT

The prefix (mailbox name)

$suffix

\ID_TEXT

The suffix (domain name)