Share via


SysMailerNet.useDefaultCredentials Method [AX 2012]

Sets the useDefaukltCredentials property on the smtp client.

Syntax

public void useDefaultCredentials([boolean useDefaultCredentials])

Run On

Called

Parameters

  • useDefaultCredentials
    Type: boolean
    True if default user credentials are to be used. False otherwise.

Remarks

When set to true, this property allows the SmtpClient to use the current user's security credentials to send the message to the SMTP server.

In effect enabling this flag is the equivalent of enabling the "NTLM" auth setting

See Also

Reference

SysMailerNet Class