Pošljite SMS: Control and Optimization with PDE Constraints