Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 952819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:57:18+00:00 2026-05-15T23:57:18+00:00

I tried using : sp_send_dbmail But I got the following error: Msg 15281, Level

  • 0

I tried using : sp_send_dbmail

But I got the following error:

Msg 15281, Level 16, State 1,
Procedure sp_send_dbmail, Line 0
SQL Server blocked access to procedure
‘dbo.sp_send_dbmail’ of component
‘Database Mail XPs’ because this
component is turned off as part of the
security configuration for this
server.
A system administrator can
enable the use of ‘Database Mail XPs’
by using sp_configure. For more
information about enabling ‘Database
Mail XPs’, see “Surface Area
Configuration” in SQL Server Books
Online.

I also tried to use this code to send SMTP mail in SQL Server 2008 R2 EXPRESS:
http://www.freevbcode.com/ShowCode.asp?ID=6699

But I am getting the following error:

Msg 15281, Level 16, State 1,
Procedure sp_OACreate, Line 1
SQL Server blocked access to procedure
‘sys.sp_OACreate’ of component ‘Ole
Automation Procedures’ because this
component is turned off as part of the
security configuration for this
server. A system administrator can
enable the use of ‘Ole Automation
Procedures’ by using sp_configure. For
more information about enabling ‘Ole
Automation Procedures’, see “Surface
Area Configuration” in SQL Server
Books Online.

I went to the “Facets” to check the security options there, but there is nothing about “Surface Area Configuration”! Is it missing because I am using the Express version of the SQL Server 2008 R2? Or am I going in the wrong direction?

If you have any better code/suggestion for sending mail in SQL Server 2008, please let me know. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:57:18+00:00Added an answer on May 15, 2026 at 11:57 pm

    It turned out that the SQL Server 2008 R2 EXPRESS edition has no mail feature supported.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SQL Server 2008 procedure that sends email via sp_send_dbmail. I'm using
I'm using the SQL Server Driver for PHP to connect to an SQL Server
I have been using a stored procedure for more than 1.5 years. But I've
I tried using facebook API but once i tried integrating it. I noticed that
I tried using the following data in my intent filter: <data android:scheme=http android:host=an.example.i.p android:pathPrefix=t
I tried using the Moving Boxes jQuery Plugin in Asp.net Mvc. It works in
I'm working with a system which had to create objects in one database based
In the process of trying to help out an app dev team with performance
i am writing an application in which i am creating web services. i am
I just upgraded a VS 2008 solution containing WinForms, general use libraries, and a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.