Hi,<br>I try to obtain content of header dynamically, but with $hdr(...) i can'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)="To";<br>
avp_subst("$avp(s:corps)/$avp(s:HdContent)","/^$avp(s:HdName):(.*)\r\n(.*)/\1/");<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't obtain what i want.<br>
<br><br>Regards,<br>Yazid<br>