SQL 2005 Database Mail Troubleshooting

Your rating: None Average: 4.4 (5 votes)

After deploying SQL 2005 SP2 on 64bit Active-Active cluster, dbmail still had issues emailing. On one of the servers, it flat out doesn't work. Running a test mail works, so my profile was setup correctly, but SQL Agent jobs were not being sent. Error I found in SQL Agent Logs: [264] An attempt was made to send an email when no email session has been established. I found after a bit of research that my SQL Agent Alert System didn't have the Enable Mail Profile option box selected. SP2 install must have done this... Just right click SQL Agent in Management Studio and select properties|Alert System page. You will need to restart SQL Agent for this to take effect.