Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006

    Question Unanswered: xp_smtp_sendmail/xpsmtp80.dll


    I am using SQL Server 2000. I wanted to send MIME type mail through SQL Mail. So I downloaded xpsmtp80.dll and copied to C:\Program Files\Microsoft SQL Server\MSSQL\Binn\DLL. Then I registered it by exec sp_addextendedproc 'xp_smtp_sendmail', 'xpsmtp80.dll'. I granted permission to public by grant execute on xp_smtp_sendmail to public.Now when I am executing this

    declare @rc int
    exec @rc = master.dbo.xp_smtp_sendmail
    @FROM = N'',
    @TO = N'',
    @subject = N'My first HTML mail',
    @message = N'<HTML><H1>This is some HTML content</H1></HTML>',

    @type = N'text/html'
    select RC = @rc

    An error generating stating

    ODBC: Msg 0, Level 16, State 1

    Cannot load the DLL xpsmtp80.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).

    (1 row(s) affected)

    Please anyone help me to sort out this problem.

  2. #2
    Join Date
    Nov 2004
    on the wrong server
    Provided Answers: 6
    is your smtp service running and is IIS running? I have not used that 3rd party tool in a while but I think there was some additional setup. I would check out the website for that thing. As I recall it was all lup there.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts