Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

xp_smtp_sendmail and Outlook Express works; Database Mail doesn't
xp_smtp_sendmail and Outlook Express works; Database Mail doesn't

Hello,

I recently upgrade a SQL 2000 SP4 EE running on Windows 2003 AS to SQL 2005
EE. I was using xp_smtp_sendmail on SQL 2000 through an Exchange server
successfully. However after the upgrade I am unable to send SMTP mail
through Database mail, although testing it through Outlook Express works
successfully.

I've enabled it in Surface Area configuration and here's the results of the
sps
EXEC msdb.dbo. sysmail_help_status_
sp ;
Started

EXEC msdb.dbo. sysmail_help_status_
sp ;
mail 0 RECEIVES_OCCURRING 2006-03-08 04:13:24.843 2006-03-08 04:03:09.857

This is the error I receive:

The mail could not be sent to the recipients because of the mail server
failure. (Sending Mail using Account 1 (2006-03-07T21:50:04). Exception
Message: Could not connect to mail server. (An established connection was
aborted by the software in your host machine).
)

After awhile I'll receive this:

1) Exception Information
===================
Exception Type:
Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
Message: The Transaction not longer valid.
Data: System.Collections. ListDictionaryIntern
al
TargetSite: Void  ValidateConnectionAn
dTransaction()
HelpLink: NULL
Source: DatabaseMailEngine

StackTrace Information
===================
at
Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.ConnectionManager.
 ValidateConnectionAn
dTransaction()
at
Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.ConnectionManager.
 RollbackTransaction(
)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.GetD
 ataFromQueue(DataAcc
essAdapter
da, Int32 lifetimeMinimumSec)
at
Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.Proc
 essQueueItems(String

dbName, String dbServerName, Int32 lifetimeMinimumSec, LogLevel
loggingLevel)

Any help would be greatly appreciated.

Thanks,

Aaron Lowe



Report this thread to moderator Post Follow-up to this message
Old Post
Aaron M. Lowe
03-09-06 02:23 PM


Re: xp_smtp_sendmail and Outlook Express works; Database Mail doesn't
This is resolved now. Evidently McAfee Virus Console 8.0 by default blocks
all mail sent to port 25. Still not sure why the other two work, but
Database mail now works after disabling the block by the McAfee.

"Aaron M. Lowe" <alowe@uic.edu> wrote in message
news:%23bS28s4QGHA.1728@TK2MSFTNGP11.phx.gbl...
> xp_smtp_sendmail and Outlook Express works; Database Mail doesn't
>
> Hello,
>
> I recently upgrade a SQL 2000 SP4 EE running on Windows 2003 AS to SQL
> 2005 EE. I was using xp_smtp_sendmail on SQL 2000 through an Exchange
> server successfully. However after the upgrade I am unable to send SMTP
> mail through Database mail, although testing it through Outlook Express
> works successfully.
>
> I've enabled it in Surface Area configuration and here's the results of
> the sps
> EXEC msdb.dbo. sysmail_help_status_
sp ;
> Started
>
> EXEC msdb.dbo. sysmail_help_status_
sp ;
> mail 0 RECEIVES_OCCURRING 2006-03-08 04:13:24.843 2006-03-08 04:03:09.857
>
> This is the error I receive:
>
> The mail could not be sent to the recipients because of the mail server
> failure. (Sending Mail using Account 1 (2006-03-07T21:50:04). Exception
> Message: Could not connect to mail server. (An established connection was
> aborted by the software in your host machine).
> )
>
> After awhile I'll receive this:
>
> 1) Exception Information
> ===================
> Exception Type:
> Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
> Message: The Transaction not longer valid.
> Data: System.Collections. ListDictionaryIntern
al
> TargetSite: Void  ValidateConnectionAn
dTransaction()
> HelpLink: NULL
> Source: DatabaseMailEngine
>
> StackTrace Information
> ===================
> at
> Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.ConnectionManage
r. ValidateConnectionAn
dTransaction()
> at
> Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.ConnectionManage
r. RollbackTransaction(
)
> at
> Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.Ge
 tDataFromQueue(DataA
ccessAdapter
> da, Int32 lifetimeMinimumSec)
> at
> Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.Pr
 ocessQueueItems(Stri
ng
> dbName, String dbServerName, Int32 lifetimeMinimumSec, LogLevel
> loggingLevel)
>
> Any help would be greatly appreciated.
>
> Thanks,
>
> Aaron Lowe
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Aaron M. Lowe
03-10-06 06:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server Tools archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:31 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006