commit f69a6ff541fc1aba9cc5c968524306a52e8842f0 from: rsc date: Sun Aug 22 15:38:10 2004 UTC call wmail to send mail. commit - 18b0811745677e0d63e3e2fa74a6b501992ef370 commit + f69a6ff541fc1aba9cc5c968524306a52e8842f0 blob - /dev/null blob + 27addc40b54ace0a761886032d790df96511330f (mode 755) --- /dev/null +++ bin/wmail @@ -0,0 +1,11 @@ +#!/bin/sh + +case "x-$MAILER" in +x-|x-browser) + # start mail in a new window + web 'mailto://'$1 + ;; +*) + 9term $MAILER + ;; +esac blob - a20d083da5a72a52e38d2f218556d031eafb9679 blob + 464b954c86836e684b8d2b50935d70723e778f7f --- plumb/basic +++ plumb/basic @@ -49,7 +49,8 @@ plumb start wdoc2txt $file type is text data matches '[a-zA-Z0-9_+.\-]+@[a-zA-Z0-9_+.\-]*' plumb to sendmail -plumb start window rc -c '''echo % mail '''$0'; mail '$0 +plumb start wmail $0 +# plumb start window rc -c '''echo % mail '''$0'; mail '$0 # image files go to page type is text