Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: Email Forwarding

by Anonymous Monk
on Feb 05, 2013 at 18:32 UTC ( #1017245=note: print w/replies, xml ) Need Help??

in reply to Re: Email Forwarding
in thread Email Forwarding

The email would come from "" w/ Subject: "this is the subject to replace" Which "replaceme" is in the Aliase file as: replaceme: "|/msg/" When an email is received, the perl script is ran, but I need it to include the Message that is sent.

Replies are listed 'Best First'.
Re^3: Email Forwarding
by aitap (Curate) on Feb 05, 2013 at 18:42 UTC
    Then use one of the modules specified to read and parse the text going from STDIN. You can read from STDIN filehandle using diamond operator (<>), like this:  my $whole_message = do { local $/; <STDIN> }; (see also $/ for more information on slurping filehandle contents).
    Sorry if my advice was wrong.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017245]
[Corion]: The data is the game ;)
[marto]: good morning all
[hippo]: Great slogan :)
[Corion]: Hi marto ;)
[mxb]: Hi all.
[Discipulus]: Hi marto
Discipulus mmh .oO(perl data chess.. 8 scalar, 2 arrays, 2 hashes, 2 refernses, 1 typeglob and atied scalar)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2018-03-19 09:23 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (236 votes). Check out past polls.