Parameters
profile | name of the profile for enabling mail |
password | password for enabling mail |
Description
Initializes the electronic mail from 602SQL. According to the specified profile the mail system (MAPI or SMTP/POP3) will be made accessible.
A name of the profile defined in the Control Panel (folder Local Settings -> Mail profiles) or using the MailCreateProfile
function must be used as the profile. If the password is set in the profile (Windows), pass an empty string or nil (NULL) as the password.
Function value
The function returns 0 if successful, the error number otherwise.
Example
Sending example, Receiving example
See