System Extended Stored Procedures

See Reference Manual: Procedures for details.

xp_cmdshell

xp_cmdshell command [, no_output]

xp_deletemail

xp_deletemail [msg_id ]

xp_enumgroups

xp_enumgroups [domain_name ]

xp_findnextmsg

xp_findnextmsg @msg_id = @msg_id  output [, type]
	[, unread_only = {true | false}]

xp_logevent

xp_logevent error_number, message  [, type]

xp_readmail

xp_readmail [msg_id ]
	[, recipients  output]
	[, sender  output]
	[, date_received  output]
	[, subject  output]
	[, cc  output]
	[, message  output]
	[, attachments  output]
	[, suppress_attach = {true | false}]
	[, peek = {true | false}]
	[, unread = {true | false}]
	[, msg_length  output]
	[, bytes_to_skip  [output]]
	[, type [output]]

xp_sendmail

xp_sendmail recipient [; recipient] . . .
	[, subject]
	[, cc_recipient] . . .
	[, bcc_recipient] . . . 
	[, {query | message}]
	[, attachname]
	[, attach_result = {true | false}]
	[, echo_error = {true | false}]
	[, include_file [, include_file] . . .]
	[, no_column_header = {true | false}]
	[, no_output = {true | false}]
	[, width]
	[, separator]
	[, dbuser]
	[, dbname]
	[, type]
	[, include_query = {true | false}]

xp_startmail

xp_startmail [mail_user ] [, mail_password]

xp_stopmail

xp_stopmail