Re: SQL Mail tests work, but job status messages do not



Maybe it's because you have not enabled the mail profile from the properties of SQL Server Agent? Check the SQL Server Agent's properties \ Alert System.

Also, what's the name of the mail profile? And what's your SQL Server version? (Has SP2 been applied?)

--
Ekrem Önsoy



"theartiststillknownasgarvin" <tommyg@xxxxxxxxxxxxx> wrote in message news:384FBB48-D737-44EB-B9A5-7E179947F7CD@xxxxxxxxxxxxxxxx
I have setup a new installation of SQL Server 2005, parallel to our
production server. SQL Mail works fine on the production server. On the new
server, configured as identically as we know how, we can get the "test"
function to work.

However, in SQL Agent, we encounter the following errors:

"Unable to start mail session (reason...mail configuration information could
not be read from the database --> System.Data.SqlClient.SqlException: profile
name is not valid"

So why can we run a test successfully if the profile name is not valid?

Where to we begin to look for clues?

.



Relevant Pages

  • Re: Agent Mail
    ... We've been trying to get SQL Server to work well with Groupwise. ... >> I am having a problem setting up sql agent mail. ... I setup a mail profile using the Internet mail option. ...
    (microsoft.public.sqlserver.tools)
  • Re: Mail help
    ... You need to link a MAPI profile to the SQL Server Agent service account. ... You should now see the mail profile in the SQL Server ...
    (microsoft.public.sqlserver.server)
  • Re: sql server backup notification...
    ... The database maint plans are executed via SQL Server Agent as jobs. ... You need to set SQL Server up to run using a mail profile, ...
    (microsoft.public.sqlserver.server)
  • Re: Mail help
    ... You need to link a MAPI profile to the SQL Server Agent service account. ... You should now see the mail profile in the SQL Server ...
    (microsoft.public.sqlserver.programming)
  • Re: How to email on job failures?
    ... You need to start the SQL Server Agent service. ... Service -> Find the SQLSERVERAGENT service on the right side -> right click ... SQL Mail and make sure that you use a windows domain account for MSSQL ... Server startup or else your SQLMail won't be able to see the mail profile ...
    (microsoft.public.sqlserver.programming)

Quantcast