October 24, 2007 at 3:18 am
When I run procedure xp_sendmail I'm getting error bellow: (error from job)
Executed as user: dbo. xp_sendmail: failed with operating system error 123 [SQLSTATE 42000] (Error 18024) Associate instruction is not be ready [SQLSTATE HY007] (Error 0) xp_sendmail: failed with operating system error 123 [SQLSTATE 42000] (Error 18024). The step failed.
In Query Analyzer error like:
xp_sendmail: failed with operating system error 123
SO: Windows 2003 Server
DB: SQL Server 2000 SP3
I use Outlook 2003
Any help would be appriciate.
Thanks in advance.
October 24, 2007 at 3:35 am
October 25, 2007 at 3:56 am
Hi,
Just curious. Are you able to execute xp_sendmail with outlook 2003 before this incident?
November 2, 2007 at 12:26 am
If you want to send mails prefer using OLE procedures than using SQL MAIL. the script is available in this site.
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
November 3, 2007 at 10:52 am
Refer the below link
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q290058
I think this may help you.
Regards..Vidhya Sagar
SQL-Articles
November 3, 2007 at 2:58 pm
Thanks all of you
Problem was file in @attachements argument.
I resolve this problem by write little program in vb.net which is fired in job.
The xp_sendmail procedure sends email (with outlook 2003) with attachements but only when @attachments argument is set null but . In other case attachements is empty 🙁
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply