procmail
[Top] [All Lists]

Re: Adding text to the email body fails with attachements

2005-02-17 15:22:53
# jmouriz(_at_)sniffer(_dot_)com(_dot_)ar

# If attach, remove finish mark and add the sign and finish mark newly
:0bf
* Content-Type:.*multipart.*boundary="?\/[^"]+
| grep -v "^--$MATCH--$" ; echo -e "--$MATCH\nContent-Type: text/plain; 
charset=us-ascii\nContent-disposition: inline\n\n" ; cat signature ; echo -
e "\n--$MATCH--\n"

# If no attach, add sign at end
:0Ebf
| cat - signature



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Adding text to the email body fails with attachements, Juan Manuel Mouriz <=