- To: chat slug <slug-chat@xxxxxxxxxxx>
- Subject: Re: [chat] x headers in emails
- From: Adrian van den Dries <avdd@xxxxxxxxxxxxx>
- Date: Fri, 16 May 2003 14:14:41 +1000
- Reply-by: Fri, 16 May 2003 17:04:01 +1000
quoth Ken Foskey:
> I am building an email header in for send mail by script, (and it is
> working) sent via sendmail -t.
>
> What is the deal with the additional headers, if I want to add a tag to
> say my application sent it so that it can be filtered on the other side
> how do I do that.
'sendmail -t' just reads the recipients from the headers, and you can
add whatever headers you like:
/usr/lib/sendmail -t <<EOF
To: <avdd>
From: <avdd>
Subject: see the headers!
X-XXX-XXXX: hot stuff
Poo
EOF
a.
--
Cantanker /
---------/-------------
/ cantanker.net