If you get an error message “The message sender needs to be set”, that means that you need to set the from name and email address on the message.
If you get an error message “The message sender needs to be set”, that means that you need to set the from name and email address on the message.