xp_sendmail sending multiple messages

  • Hello All,

    When i run

    Exec Master.dbo.xp_sendmail

    @recipients = @strRecipient,

    @subject = @strSubject,

    @message = @strMessage

    from query analyzer, everything works fine. When i run it from a strored procedure, it sends the message twice. Any ideas? Thanks.

  • Run a trace, be sure it's not being called twice.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply