By Default ,in Sql Server express ,we donot send the mails .because it have some files missing in it.It we copy that missing files in the MSSQL\Bin directory .These three files that are necessary to send mail from Sql server are---
1)DatabaseMail90.exe
2)DatabaseMailEngine.dll
3)DataBaseMailProtocols.dll
Then Execute the following Commands
USE Master
GO
sp_configure 'show advanced options', 1
GO
reconfigure with override
GO
sp_configure 'Database Mail XPs', 1
GO
reconfigure
GO
sp_configure 'show advanced options', 0
GO
use msdb
dbo.sysmail_start_sp
How To make Profile in SqlServer
EXECUTE msdb.dbo.sysmail_add_profile_sp
@profile_name = 'Manpreet_Profile',
@description = 'Manpreet'
1)DatabaseMail90.exe
2)DatabaseMailEngine.dll
3)DataBaseMailProtocols.dll
Then Execute the following Commands
USE Master
GO
sp_configure 'show advanced options', 1
GO
reconfigure with override
GO
sp_configure 'Database Mail XPs', 1
GO
reconfigure
GO
sp_configure 'show advanced options', 0
GO
use msdb
dbo.sysmail_start_sp
How To make Profile in SqlServer
EXECUTE msdb.dbo.sysmail_add_profile_sp
@profile_name = 'Manpreet_Profile',
@description = 'Manpreet'
Comments