CMS-7206 SendMailFunction does not handle correctly "cms.url" config parameter when it ends with /index.html