adapting sendingmanager::post to different email::sender versions
adapting sendingmanager::post to different email::sender versions