Hi, 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:
$avp(s:body)=$mb; $avp(s:HdName)="To"; avp_subst("$avp(s:corps)/$avp(s:HdContent)","/^$avp(s:HdName):(.*)\r\n(.*)/\1/");
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. But until now i don't obtain what i want.
Regards, Yazid