|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SQLDMO: Registry->AutostartMail property - where in registry?The SQLDMO Registry object exposes a boolean property called AutostartMail.
It is always returning FALSE, even though we have database mail configured and enabled in SQL 2005. I assume that since the SQLDMO Registry object exposes this property, that it must be a registry entry somewhere we can examing for verification. But I can not find any such registry value. Does anyone know where the AutostartMail property is actually stored so we can examine it instead of relying on the SQLDMO Registry object? Many thanks!
Show quote
"Mark Findlay" <mfind***@speakeasy.org> wrote in message SQLDMO has limited support for SQL 2005, SMO is the new management library news:%23MMcV1EfGHA.2188@TK2MSFTNGP04.phx.gbl... > The SQLDMO Registry object exposes a boolean property called > AutostartMail. It is always returning FALSE, even though we have database > mail configured and enabled in SQL 2005. > > I assume that since the SQLDMO Registry object exposes this property, that > it must be a registry entry somewhere we can examing for verification. But > I can not find any such registry value. > > Does anyone know where the AutostartMail property is actually stored so we > can examine it instead of relying on the SQLDMO Registry object? > for 2005. And SQL 2005 Database Mail is a different feature from SQL 2000 SQL Mail. My guess it that AutostartMail is referring to SQL Mail, not Database Mail. David Hello Mark,
AutostartMail is for SQL mail which is dependent on MAPI. Though SQL 2005 still supports SQLMail, it is for compatiblity purpose. Database mail is new feature in SQL 2005 which is based on smtp. http://msdn2.microsoft.com/en-US/library/ms175887.aspx http://msdn2.microsoft.com/en-US/library/ms177418.aspx Best Regards, Peter Yang MCSE2000/2003, MCSA, MCDBA Microsoft Online Partner Support When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ===================================================== This posting is provided "AS IS" with no warranties, and confers no rights. |
|||||||||||||||||||||||