Hi,<br>I try to obtain content of header dynamically, but with $hdr(...) i can&#39;t do this because it accept only static parameters. For example I try to use:<br><br>$avp(s:body)=$mb;<br>$avp(s:HdName)=&quot;To&quot;;<br>
avp_subst(&quot;$avp(s:corps)/$avp(s:HdContent)&quot;,&quot;/^$avp(s:HdName):(.*)\r\n(.*)/\1/&quot;);<br><br>With this manner, i can change header name ($avp(s:HdName) )dynamically from data source (e.g database) and use his content in my script.<br>
But until now i don&#39;t obtain what i want.<br>
<br><br>Regards,<br>Yazid<br>