Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: embedding line in mail header

by eXile (Priest)
on Apr 30, 2006 at 05:19 UTC ( #546555=note: print w/replies, xml ) Need Help??


in reply to embedding line in mail header

It is a custom (not sure whether/where it is documented), to start custom headers with X-. Email servers and clients don't touch these X-headers. You could add your scriptname like:
Subject: testmail
To: test@test.com
X-Scriptname: /usr/local/bin/myscript.pl
PS: oh, the joy I had adding X-wing or X-mas headers to email ...

PS2: X-headers are actually documented in RFC822 (http://www.faqs.org/rfcs/rfc822.html)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://546555]
help
Chatterbox?
[marioroy]: good night Discipulus.
[Discipulus]: perl dreams to you all
[marioroy]: LA my @music_times = qx(find \$HOME/Music/ Albums -type f -iname \'*.mp3\' -exec mp3info -p \"%S\\n\" {} \\;);
[marioroy]: Only 2 backslash \\n
[marioroy]: LA no space before Albums
[Lady_Aleena]: Good guh! I think I will use File::Find when working in perl. That is too many toothpicks.
[marioroy]: mp3info must be in the PATH

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-04-23 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.