I have spent most of today trying to get database mail in SQL 2005 to send me an email when our maintenance plan is executed.
I went through the process of creating a profile in Database Mail. Set up configuration under SQL Server Agent, and in notifications as well. In Database mail, I click the test mail, and it will email me the test message. But nothing when the maintenance plans excecutes.
The log file is telling me:
"an attempt was made to send an email when no email session has been established". I checked the mail status and it shows "RECEIVES_OCCURRING".
I am at a loss here. If the test email went through, that tells me that it is not a profile configuration issue. Any thoughts? Thanks.
I went through the process of creating a profile in Database Mail. Set up configuration under SQL Server Agent, and in notifications as well. In Database mail, I click the test mail, and it will email me the test message. But nothing when the maintenance plans excecutes.
The log file is telling me:
"an attempt was made to send an email when no email session has been established". I checked the mail status and it shows "RECEIVES_OCCURRING".
I am at a loss here. If the test email went through, that tells me that it is not a profile configuration issue. Any thoughts? Thanks.