Hi,
I'm wondering if it is possible to forward a mail to a web page.
Example:
I receive a mail from johndoe(_at_)domain(_dot_)com with the subject "TEST" and
want to
send this automatically to a web page with the command
http://www.domain.com/test(_dot_)cgi?from=johndoe(_at_)domain(_dot_)com&subject=TEST.
The script is following:
:0
* ^TOjanedoe(_at_)domain(_dot_)com
{
FROM=`formail -x From:`
SUBJ=`formail -x Subject`
:0 c
| "callwebpage.pl \"$FROM\" \"$SUBJ\""
}
But how should the perl script "callwebpage.pl" look like?
Can the result from the webpage be forwarded to another domain (i.e.
forward(_at_)domain(_dot_)com)
Or is this strictly impossible with procmail+perl?
Thank you so much!
Costa