Friends,
Lets discuss about the steps involved in configuring the Database Mail in your database. PFB the steps involved.
- First connect to SSMS (Sql Server Management Studio) and select Management folder in Object explorer.
- Right click on “Database Mail” option and select “Configure Database Mail” option.
- When the Welcome Wizard opens click NEXT.
- Select the option “Select database mail by performing the following tasks” and click NEXT.
- Provide Profile Name and Select ADD to add a new profile.
- Here you need to provide all the SMTP settings as shown below.
- Once the details are provided correctly then select OK and then you can see a new profile created. Check the same to set as default and click NEXT .
- Continue clicking NEXT until you reach the last page and Click FINISH. You can see configuration status as shown below.
- Now the configuration part is set. Now to configure EMail in DB, go to Query analyzer and execute the following code.
sp_CONFIGURE ‘show advanced’, 1
GO
RECONFIGURE
GO
sp_CONFIGURE ‘Database Mail XPs’, 1
GO
RECONFIGURE
GO
- Once setup is done, we are ready to test our mails. PFB the code to be used to check the same.
USE msdb
GO
EXEC sp_send_dbmail @profile_name=’MailServer’,
@recipients=’something@gmail.com’,
@subject=’Test’,
@body=”This is to test Database Mail.
This is it. You can use the following queries to check the status of the mail sent.
SELECT * FROM sysmail_mailitems
SELECT * FROM sysmail_sentitems
SELECT * FROM sysmail_log
Hope this helps you .. Enjoy coding guys !!
Regards,
Roopesh Babu V
Sometimes they are a lot lower.
out the price reductions on offer when using this site for vardenafil 10mg . Order now!
I went off the pill in early December and as of yet I have not got my period.
buy betnovate without a prescription – monobenzone online buy purchase monobenzone online
Don’t buy from sites that say their levitra reviews supplied by a trusted pharmacy at low pricesАвторский
The diagnosis can be made using a 75-g glucose load, but that test is not as well validated for detection of at-risk infants or mothers as the 100-g OGTT.
progesterone pills – progesterone price purchase clomiphene online cheap
order estradiol 1mg for sale – buy femara pills anastrozole over the counter
г‚·гѓ«гѓ‡гѓЉгѓ•г‚Јгѓ« её‚иІ© гЃЉгЃ™гЃ™г‚Ѓ – г‚·гѓ«гѓ‡гѓЉгѓ•г‚Јгѓ« гЃЇйЂљиІ©гЃ§гЃ®иіј г‚їгѓЂгѓ©гѓ•г‚Јгѓ« и–¬е±ЂгЃ§иІ·гЃ€г‚‹
гѓ—гѓ¬гѓ‰гѓ‹гѓійЊ 40 mg еј·гЃ• – イソトレチノイン通販 г‚¤г‚Ѕгѓ€гѓ¬гѓЃгѓЋг‚¤гѓійЊ 40 mg еј·гЃ•
buy crixivan pills – finasteride drug buy diclofenac gel cheap
valif pills worthy – buy secnidazole without prescription order sinemet
buy generic provigil online – buy modafinil 100mg online cheap buy generic epivir
stromectol medication – candesartan sale buy carbamazepine 200mg pills