Chapter 18. Command Referencefor Adaptive Server Enterprise
sp_remote_type procedure
Purpose Tocreate or modify a SQL Remote message type.
Syntax sp_remote_type type_name publisher_address
Argument Description
type_name
Themessage type to create or alter. This must be one
ofthe following:
file
ftp
smtp
mapi
vim
publisher_address
The address of the publisher under the specified
messagetype.
Seealso “sp_drop_remote_typeprocedure” on page 388
“ALTERREMOTE MESSAGETYPE statement” on page 355
Description The Message Agent sends outgoing messages from a database using one of
thesupported message links. Returnmessages for users employing the
specifiedlink are sent to the specified address as long as the remote database
iscreated by the Extraction Utility. The Message Agent starts links only if it
hasremote users for those links.
Theaddress is the publisher’s address under the specified message system. If
itis an e-mail system, the address string must be a valid e-mail address. Ifit
isa file-sharing system, the address string is a subdirectory of the directory
setin the SQLREMOTEenvironment variable or registry entry,or of the
currentdirectory if that is not set.
Example Thefollowing example creates a FILE message type for a database, and
givesthe publisher’s address as a subdirectory of the SQLREMOTE location
named

publisher:

sp_remote_type file, publisher
go
427