Question : Convert Stored procedure from SQL mail to Database Mail

Hi,
I have some stored procedures that worked with SQL mail on Server 2003 with SQL 2005.  The server has been upgraded to Server 2008 with SQL 2008 64 bit.  I have enabled SQL mail on the new server but it errors out with a message that SQL mail does not work on the 64 Bit version of SQL server.  Therefore I need to convert the Stored Procedures to work with Database Mail on the 2008 64 bit server.  The problem I have is the Stored procedures use xp_readmail and xp_findnextmsg and I cannot find the equivalents in database mail.  Can anyone show what the equivalent procedures in Database mail are ?

Answer : Convert Stored procedure from SQL mail to Database Mail

Yes, you can and you have to map the new location on data files so that it can recognise where the .ost file is.
Random Solutions  
 
programming4us programming4us