Getting the message subject is easy! (was Re: [Mimedefang] got my mojo working)

David F. Skoll dfs at roaringpenguin.com
Mon Feb 23 14:57:31 EST 2004


On Mon, 23 Feb 2004, Dave Helton wrote:

>    if (open (INF, "./HEADERS")) {
...
>                 if ($line =~ /^Subject:/) {

Remember, the global variable $Subject already holds the message
subject!  No need to parse ./HEADERS.

The rest of the code looks cool, though.

Regards,

David.



More information about the MIMEDefang mailing list