<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
span.decorator
{mso-style-name:decorator;}
span.keyword
{mso-style-name:keyword;}
span.function
{mso-style-name:function;}
span.predefined-constant
{mso-style-name:predefined-constant;}
span.predefined
{mso-style-name:predefined;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Using the following code, I’m able to see the TO: recipients via my milter:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=1118 style='width:838.5pt;background:#FAFAFA;border-collapse:collapse;border:none'><tr><td style='border:solid #CCCCCC 1.0pt;border-bottom:none;padding:1.5pt 1.5pt 1.5pt 1.5pt'><pre><span class=decorator><span style='color:#BB00BB'> @Milter.noreply</span></span><span style='color:#484848'><o:p></o:p></span></pre></td></tr><tr><td style='border-top:none;border-left:solid #CCCCCC 1.0pt;border-bottom:none;border-right:solid #CCCCCC 1.0pt;padding:1.5pt 1.5pt 1.5pt 1.5pt'><pre><span style='color:#484848'> </span><span class=keyword><b><span style='color:#008800'>def</span></b></span><span style='color:#484848'> </span><span class=function><b><span style='color:#0066BB'>envrcpt</span></b></span><span style='color:#484848'>(</span><span class=predefined-constant><span style='color:#006699'>self</span></span><span style='color:#484848'>, recipient, *</span><span class=predefined><b><span style='color:#336699'>str</span></b></span><span style='color:#484848'>):<o:p></o:p></span></pre></td></tr><tr><td style='border-top:none;border-left:solid #CCCCCC 1.0pt;border-bottom:none;border-right:solid #CCCCCC 1.0pt;padding:1.5pt 1.5pt 1.5pt 1.5pt'><pre><span style='color:#484848'> rcptinfo = recipient, Milter.dictfromlist(</span><span class=predefined><b><span style='color:#336699'>str</span></b></span><span style='color:#484848'>)<o:p></o:p></span></pre></td></tr><tr><td style='border-top:none;border-left:solid #CCCCCC 1.0pt;border-bottom:none;border-right:solid #CCCCCC 1.0pt;padding:1.5pt 1.5pt 1.5pt 1.5pt'><pre><span style='color:#484848'> </span><span class=predefined-constant><span style='color:#006699'>self</span></span><span style='color:#484848'>.R.append(rcptinfo)<o:p></o:p></span></pre></td></tr><tr><td style='border:solid #CCCCCC 1.0pt;border-top:none;padding:1.5pt 1.5pt 1.5pt 1.5pt'><pre><span style='color:#484848'> </span><span class=keyword><b><span style='color:#008800'>return</span></b></span><span style='color:#484848'> Milter.CONTINUE<o:p></o:p></span></pre></td></tr></table><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>How can I extract the CC recipients without having to parse each header?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:10.0pt'><b><span style='font-size:10.5pt;color:#626262'>Larry G. Wapnitsky</span></b><span style='font-size:8.0pt;color:#626262'> MBA, MCSE, MCP+I<br>IT SUPPORT & ADMINISTRATION COORDINATOR<br><a href="http://www.wrtdesign.com/"><b><span style='font-size:10.5pt;color:#94BD2D;text-decoration:none'>WRT</span></b></a></span><b><span style='font-size:10.5pt;color:#94BD2D'><a href="http://www.wrtdesign.com/"><span style='color:#94BD2D;font-weight:normal;text-decoration:none'> | Wallace Roberts & Todd, LLC</span></a></span></b><span style='font-size:10.5pt;color:#94BD2D'><br></span><span style='font-size:8.5pt;color:#626262'>1700 Market Street, 28th Fl<br>Philadelphia, PA 19103<br><b>T </b>215.430.5068<br><b>C </b>215.713.8635<br><b>E <a href="mailto:lwapnitsky@WRTdesign.com"><span style='color:#626262;font-weight:normal;text-decoration:none'>lwapnitsky@WRTdesign.com</span></a></b><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div>
<p><pre>
----wrtmail--%3423wrt%----
</pre></p>
</body></html>