Unix Technical Forum

xp_sendmail: failed with mail error 0x80040403

This is a discussion on xp_sendmail: failed with mail error 0x80040403 within the SQL Server forums, part of the Microsoft SQL Server category; --> I'm trying to send an email using master..xp_sendmail with parms and the default Outlook profile. I can successfully test ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 03:27 PM
Stephen2
 
Posts: n/a
Default xp_sendmail: failed with mail error 0x80040403

I'm trying to send an email using master..xp_sendmail with parms and
the default Outlook profile. I can successfully test the profile on my
own computer and on the server.

I'm running using Windows authentication and have given myself full
admin rights in MSSQL.

Which account is mssql trying to send the email from? Is it the
servers or my local clients?

The mailbox does not appear to be full and it's possible to send &
receive emails on the server and on my own machine.

What could be a possible cause or the next thing I can check?

Thanks!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 03:27 PM
Erland Sommarskog
 
Posts: n/a
Default Re: xp_sendmail: failed with mail error 0x80040403

Stephen2 (Stephen@mailinator.com) writes:
> I'm trying to send an email using master..xp_sendmail with parms and
> the default Outlook profile. I can successfully test the profile on my
> own computer and on the server.
>
> I'm running using Windows authentication and have given myself full
> admin rights in MSSQL.
>
> Which account is mssql trying to send the email from? Is it the
> servers or my local clients?
>
> The mailbox does not appear to be full and it's possible to send &
> receive emails on the server and on my own machine.
>
> What could be a possible cause or the next thing I can check?


If there is one thing I try to stay away from it's the combination of
mail and SQL Server. But if you need to struggle with this, consider
using xp_smtpmail instead of using xp_sendmail to save some hassle.
Check out http://www.sqldev.net/xp/xpsmtp.htm.

This is for SQL 2000. If you are SQL 2005, you should use the new stuff,
and definitely stay away from xp_sendmail.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:29 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com