Xbasic

UI_EMAIL_SETTINGS Function

Syntax

C ui_email_settings()

Description

UI_EMAIL_SETTINGS() displays the Email Settings dialog box in which a user can set their email settings. These settings are used when you send email using the built-in email feature in Alpha Anywhere, rather than the default email client (such as Eudora or Outlook ).

images/UI_EMAIL_SETTINGS.GIF

Note : Email settings are stored in the registry. You can also set these values using Xbasic, with the REGISTRY.LOAD_SETTINGS()and REGISTRY.SAVE_SETTINGS()methods.

Example 

put description here

em.client_hostname = ""
registry.load_settings("\init\email",em)
'This creates the following "dot" variables:
'em.client_hostname
'e.client_identity = em.client_identity
'e.client_password = em.client_password
'e.client_USERname = em.client_USER_name
'e.mail_hostname = em.mail_hostname
'You can set and then resave to the registry with the command:
registry.save_settings("\init\email", em)

Limitations

Desktop applications only.

See Also