You must initiate an Adaptive Server mail session before any
messages can be sent or received.
Note: Only one Sybmail session at a time can be running on
an Adaptive Server.
Start a Mail Session
When Adaptive Server starts a session, the mail user is represented by the MailUserName and the MailPassword that you defined when you created the Adaptive Server login for Sybmail.
Stop a Mail Session
A mail session stops automatically when Adaptive Server shuts down. You also can explicitly stop an Adaptive Server mail session at any time with the xp_stopmail ESP.