xp_startmail system procedure

Starts an email session under MAPI.

Syntax
xp_startmail(
 [ mail_user = mail-login-name ]
 [, mail_password = mail-password ] )
Arguments
  • mail_user   Use this LONG VARCHAR parameter to specify the MAPI login name.

  • mail_password   Use this LONG VARCHAR parameter to specify the MAPI password.

Permissions

DBA authority required

Not supported on Unix.

Remarks

xp_startmail is a system procedure that starts an email session.

If you are using Microsoft Exchange, the mail-login-name argument is an Exchange profile name, and you should not include a password in the procedure call.

Return codes

See Return codes for MAPI and SMTP system procedures.

See also