Added x-smptapi support