Switch to HTML Alerts stops alert notification

Hi,
I was searching Internet for some HTML Alert templates. I found some and modified them. However, when I replace them with standard ones. I simply don’t get any alerts on email. There are the ones that I am using. Some help to resolve this would be highly appreciated.
Port Threshold Alert.

{if %state == 1}TRAFFIC THRESHOLD ALERT ! LINK UTILIZATION IS ABOVT 95% OF THE CAPACITY {else} RECOVER:{/if}

Severity: %severity

Duration: %elapsed

{if %faults}Faults:
{foreach %faults} Port: %value.ifName : %value.port_descr_descr - Alerted with: {calc (%value.ifInOctets_rate*8/1000000)} Mbps - Up/Down Threshold: %value.port_descr_speed Mbps


{/foreach}{/if}

{if %diff}Changes:
{foreach %diff} Port: : %value.port_descr_descr - Changed to: {calc (%value.ifInOctets_rate*8/1000000)} Mbps - Threshold: %value.port_descr_speed Mbps

{/foreach}{/if}

Alert started: %timestamp

For Port Down status.

{if %state == 0} PORT DOWN ALERT ! {CRITICAL} {else}RECOVER:{/if}

{if %faults}Faults:
{foreach %faults}

Severity: %severity

Timestamp: %timestamp

Device: %value.hostname

Port Name: %value.ifAlias

Port Status: %value.message

Duration: %elapsed

{/foreach}{/if}

Kindly suggest