SMS-17_1:refactor the send and draft function