473,385 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

SQL mail issues

We use xp_sendmail in a lot of our jobs to send out notification of
success or failure along with a text message. The xp_sendmail is
called in the stored procedure that runs in the job. Lately it has
been failing with the following error message.

Executed as user: INFOCISION\MSSQLExec. xp_sendmail: failed with mail
error 0x80040115 [SQLSTATE 42000] (Error 18025) Associated statement
is not prepared [SQLSTATE HY007] (Error 0) Mail sent. [SQLSTATE
01000] (Message 17967). The step failed.

This does not happen all the time, sometimes it is successful. Any
ideas would be appreciated.
Jul 20 '05 #1
1 4979
ba***@infocision.com (Barb) wrote in message news:<c0**************************@posting.google. com>...
We use xp_sendmail in a lot of our jobs to send out notification of
success or failure along with a text message. The xp_sendmail is
called in the stored procedure that runs in the job. Lately it has
been failing with the following error message.

Executed as user: INFOCISION\MSSQLExec. xp_sendmail: failed with mail
error 0x80040115 [SQLSTATE 42000] (Error 18025) Associated statement
is not prepared [SQLSTATE HY007] (Error 0) Mail sent. [SQLSTATE
01000] (Message 17967). The step failed.

This does not happen all the time, sometimes it is successful. Any
ideas would be appreciated.


I have no idea about that particular error, but there are a number of
known issues with SQL Mail - this article might help:

http://support.microsoft.com/default...&Product=sql2k

Simon
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
25
by: abhinav | last post by:
Hello guys, I am a novice in python.I have to implement a full fledged mail server ..But i am not able to choose the language.Should i go for C(socket API) or python for this project? What are the...
4
by: | last post by:
Hi all, We are using the Asp.Net SMTP Client to send email via our Exchange 2003 SP2 Server. When trying to send email to a local recipient I am getting the following error:- Server:...
2
by: Goran Djuranovic | last post by:
Hi all, When sending mail from within a windows service I get this exception: "The specified procedure could not be found" at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) at...
3
by: eitan | last post by:
אני מעוניין לשלוח דואר אלקטרוני בתוכנת Windows Outlook 2003 אבל לא מעונין שהאדם שמקבל את הדוא"ל יראה את השם שלי ב-FROM האם יש אפשרות??
2
by: suekinch | last post by:
What is the code to send mail/feedback back to the administrator of a site. The code I am using is coming up with an error saying SmtpMail 3 arguments. I also have issues transferring a...
2
by: =?Utf-8?B?TWljaGFlbCBkZSBWZXJh?= | last post by:
To all, I was wondering if someone has sample VB.NET code that will help me send rows of a gridview into a body section of an e-mail. My goal is to present multiple rows within a gridview to a...
2
by: Dave | last post by:
Hi, When you create buttons from the wizard you can go on report options and select mail report. This sends a report in a chosen format to the mail software as an attachment. There are two...
3
uranuskid
by: uranuskid | last post by:
Hey folks, I was going to include a contact form on my website. Well, in the first place that seemed an easy thing to do with a form that prompts a PHP file validating the input vaiables and using...
2
by: lionel | last post by:
Hi, The HTML of my website is produced in UTF-8. I've got a contact form with a simple textearea. When I send this text : ---------------- This is some text with a second line...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.