Make scheduler sample use SwiftMailer
We're deprecating t3lib_htmlmail, so stop using it also in the scheduler's sample task.
Attached patch does that. Francois, could you check that it works and commit FYI? Thanks!
(issue imported from #M17108)