Mapi.logon Method [AX 2012]
Logs on to the mail system by using the specified profile and password.
public int logon(
str profileName,
str password,
int flags)
Run On
CalledParameters
- profileName
- Type: str
A valid mail profile on the server.
- password
- Type: str
The password for the specified profile.
- flags
- Type: int
A list of flags.
The valid flags are as follows:
Return Value
Type: intThe status #SUCCESS_SUCCESS if the logon succeeded; otherwise, an error code, which can be found in the #MAPI macro.
Community Additions
ADD
Show: