implement send template content