fixing more in cron sending mail (was not working) or using http basic auth (not working either: don't use urlencode)