Zaslat SMS: Optimal control