How to use Hexa code

Hello ,
what is alternate or how to use hexa code for ;(semicolon) using sending email.

exten => s,n,System(echo -e "To: ${SCORE_PERCENT4}\nFrom: xxxx@gmail.comn\nSubject: Wishing Happy Birthday from School at Home\r\nMIME-Version: 1.0\r\nContent-Type: text/html; charset=utf-8\r\n\r\n<html><body><h1>Wishing Happy Birthday to ${SCORE_PERCENT1}</h1> <h4>Father Name = ${SCORE_PERCENT7}</h4><h4>Congratulations & Have a Good Day</h4><h4>Helping Hand India NGO</h4></body></html>" | /usr/bin/msmtp ${SCORE_PERCENT4})

In above code , facing issue with ;(semicolon) with code - Content-Type: text/html;
As rest statement becomes silent after ;
It is working well with cli/linux shell , how to use/replace ;

Also tried following but all not working
exten => s,n,Set(aurin=URIENCODE(3B))
exten => s,n,Set(aurin2=;)
Content-Type: text/html%3B

pls guide

Semicolon starts a comment in Asterisk and needs escaping with backslash. The double quotes also might not work how you expect; I’m not sure how Asterisk handles them here.

You are pushing your luck trying to this directly from the dialplan. I would suggest using AGI, as you already have things in dialplan variables.

As you already have the To address in the text, you can use the -t option on msmtp. You may also find that it is aliased as sendmail, using which would produce more portable code.

You seem to be using h4 elements for presentational purposes, in which case you need to add ARIA attributes to restore the semantics, especially for assistive technology.

Hello @david551
Thanks for your reply.
Yes it is related to Greeting email to students and working well without html integration. But html is required for presentable look.
can you help to manage ;(semicolon) as it creating statement silent.