procmail
[Top] [All Lists]

posting a message to a web page

2002-12-11 18:11:29
Hi.  I have been testing ways to split up subject, to, from, body and then
post it to a web page with lynx, so far no luck...

I have not split out $BODY yet... these are some bits I have found online so
far..

:0
* ^To:[ ]*\/.*
{
   TO = "$MATCH"
}

:0
* ^From:\/.*
{
        FROM = "$MATCH"
}

:0
* ^Subject:\/.*
{
        SUBJECT = "$MATCH"
}

I am not sure how procmail would like to do this part so that the variables
work.

:0
* ^From:.*(mworld@)
| /usr/local/bin/lynx -source -dump
"http://mypage.com/mailpost.php?subject=$SUBJECT&to=$TO&from=$FROM&body=$BOD
Y"

Regards,
Otto.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>