Sybase Adaptive Server Anywhere Reference page 1001

Table of Contents

Advertisement

Example
xp_stopmail system procedure
Function
Syntax
Permissions
Description
Return codes
Chapter 14 System Procedures and Functions
Return code
Meaning
0
Success
5
Failure (general)
11
Ambiguous recipient
12
Attachment not found
13
Disk full
14
Insufficient memory
15
Invalid session
16
Text too large
17
Too many files
18
Too many recipients
19
Unknown recipient
The following call sends a message to the user ID Sales Group containing
the file
prices.doc
as a mail attachment:
CALL xp_sendmail(recipient='Sales Group',
subject='New Pricing',
include_file = 'C:\\DOCS\\PRICES.DOC'
)
Closes an e-mail session.
[ variable = ] [ CALL ] xp_stopmail ()
None.
xp_stopmail is a system stored procedure that ends an e-mail session.
The xp_stopmail system procedure issues one of the following return codes:
Return code
Meaning
0
Success
3
Failure
983

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents