When a scheduled job is run I have set up the email notification to inform me if the job fails. This has just started to fail for some unknown reason. I checked the SQL Agent Log and it displays the following error:
[264] An attempt was made to send an email when no email session has been established.
I created a job that emails me a test message and that works, it';s the notification that is failing.
I tested SQL Mail and it works fine.