How to send email through Sql Server 2008
Management >> Database Email >> Create profile and configure smtp Serevr or you can follow the given Link of Mr Pinaldave..
Step 1 : Create profile and configure smtp Serevr
Step 2 :
Step 1 : Create profile and configure smtp Serevr
Step 2 :
sp_CONFIGURE 'show advanced', 1
GO
RECONFIGURE
GO
sp_CONFIGURE 'Database Mail XPs', 1
GO
RECONFIGURE
GOStep 3: USE YourDataBase
GO
EXEC sp_send_dbmail @profile_name='Your Profile',
@recipients='recipient email',
@subject='Test message',
@body='This is the body of the test message.
Congrates Database Mail Received By you Successfully.'or Directly right click on Database Mail and you will get sending mail enterface.
Comments
Post a Comment