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.
You can initiate an Adaptive Server mail session in one of two ways:
Call the xp_startmail extended stored procedure explicitly each time you start Adaptive Server.
You can override the previously mentioned login default by passing another user name and password to xp_startmail. You might want to do this if there are multiple profiles associated with Adaptive Server’s mailbox, and you want to use an alternative profile.
Arrange to start a mail session automatically when Adaptive Server starts up.
For automatic start-up of an Adaptive Server mail session for subsequent Adaptive Server sessions, set the start mail session configuration parameter to 1.
With the automatic start-up, you do not need to use xp_startmail to begin a mail session the next time that you start Adaptive Server.
For more information on start mail session, see the System Administration Guide.