tu al final del sketch tienes:
mySerial.write("26");
cambialo por mySerial.write(char(26));
y el delay anterior a este lo pones a delay(1000);
tambien en el comando CMGS lo cambias por:
.println("AT + CMGS = "+34xxxxxxxxx"");//enviar mensaje al telefono, con numero de pais