The article is good.
I set up the Database mail account and tested it and it worked fine.
I then set up a maintenance plan with a Notify Operator Task only and executed it to see if the message would be sent to me.
The task failed.
What am I missing?