Returns the name of the SMTP server associated to the specified user.

1 system.user.getSMTPHost

<system.user.getSMTPHost code='code'/>
Example

Obtains the name of the SMTP server associated to the suer by default.

Copy
<xsql-script name='system_user_getSMTPHost_sample1'>
    <body>
        <println>
            <system.user.getSMTPHost />
        </println>
    </body>
</xsql-script>

If you do not pass an user code via the attribute code, the system returns the value related with the user which executes the command.

Example

Obtains the name of the SMTP server associated to a specific user.

Copy
<xsql-script name='system_user_getSMTPHost_sample2'>
    <body>
        <println>
            <system.user.getSMTPHost code='bpr'/>
        </println>
    </body>
</xsql-script>

Informing the attribute code, the system returns the value related with the specified user code.