%% u.userDefaultDomain %%
Description:
Default domain name of the server used to provide e-mail boxes for the
registered Web Crossing users. u is a user's unique ID.
Arguments:
None.
Return Values:
Default e-mail domain for the registered users.
"" (empty string) if sysop hasn't specified any e-mail domain in the
Email Services panel.
Notes:
Sysop must specify one or more e-mail domains in order to provide
e-mail boxes for the Web Crossing users.
WCTL Example
%% macro TestUserDefaultDomain %%
%% // Checking a default e-mail domain for the current registered user %%
%% if user.userIsRegistered %%
%% if user.userDefaultDomain %%
%% crlf %% Welcome, %% user.userName %%! <br>
%% crlf %% Default domain name of the server used to provide e-mail boxes for Web Crossing users is : %% user.userDefaultDomain %% <br>
%% crlf %% Your local e-mail box is : %% user.userMailbox %% <br>
%% else %%
%% crlf %% Welcome, %% user.userName %%! <br>
%% crlf %% sysop hasn't specified any e-mail domain yet. <br>
%% endif %%
%% else %%
You are visiting as a guest user. Please login or register. <br>
%% endif %%
%% endmacro %%
See Also:
user Functions, u.userMailbox, WCJS userDefaultDomain, etc.