[Pymilter] Getting CC recipients

Larry G. Wapnitsky LWapnitsky at ph.wrtdesign.com
Thu Jun 7 11:24:39 EDT 2012


Using the following code, I'm able to see the TO: recipients via my
milter:

 

    @Milter.noreply
    def envrcpt(self, recipient, *str):
        rcptinfo = recipient, Milter.dictfromlist(str)
        self.R.append(rcptinfo)
        return Milter.CONTINUE

 

 

How can I extract the CC recipients without having to parse each header?

 

Thanks,

 

Larry G. Wapnitsky MBA, MCSE, MCP+I
IT SUPPORT & ADMINISTRATION COORDINATOR
WRT <http://www.wrtdesign.com/>   |  Wallace Roberts & Todd, LLC
<http://www.wrtdesign.com/> 
1700 Market Street, 28th Fl
Philadelphia, PA 19103
T  215.430.5068
C  215.713.8635
E  lwapnitsky at WRTdesign.com <mailto:lwapnitsky at WRTdesign.com> 

 






----wrtmail--%3423wrt%----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gathman.org/pipermail/pymilter/attachments/20120607/17d17d8c/attachment.html>


More information about the Pymilter mailing list