Functions with string parameters
Just change

void sendSMS()


to

void sendSMS(const String&amp; thisIsAString)


You can then access the parameter inside the function with thisIsAString.
No, you do not need a prototype.