Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Problems with xp_sendmail

Problems with xp_sendmail

Scheduled Pinned Locked Moved Database
databasesysadminwindows-adminhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Leo Smith
    wrote on last edited by
    #1

    Hello, I am having trouble sending an email from a stored procedure in MS-SQL 2005. Here is the error: xp_sendmail: Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client. The box is a server and does not have Outlook loaded but does have "Database Mail" loaded along with the SMTP mail for IIS loaded and running. What do I need to do to get xp_sendmail to work? The docs on this command are sparse and hard to follow for configuring. Thanks,

    Leo T. Smith

    T 1 Reply Last reply
    0
    • L Leo Smith

      Hello, I am having trouble sending an email from a stored procedure in MS-SQL 2005. Here is the error: xp_sendmail: Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client. The box is a server and does not have Outlook loaded but does have "Database Mail" loaded along with the SMTP mail for IIS loaded and running. What do I need to do to get xp_sendmail to work? The docs on this command are sparse and hard to follow for configuring. Thanks,

      Leo T. Smith

      T Offline
      T Offline
      Tobias Schoenig
      wrote on last edited by
      #2

      I'm not familiar using xp_sendmail- i only tried to send mails by using sp_send_dbmail. Did you try out this function? maybe you could use that one!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups