• Can you post the code you are using?

    Have you removed the mailing section of your procedure and tried it directly in SSMS?