Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: email parsing

by powerhouse (Friar)
on Oct 17, 2003 at 23:22 UTC ( [id://300199]=note: print w/replies, xml ) Need Help??


in reply to Re: email parsing
in thread email parsing

Hmm, Nope, did not leave expecting code to be fixed, first of all, I did not show you all the code, I was just wondering if someone knows how to do what I'm trying, and can see a BLATANT problem, that just stands out, maybe they possibly had the same problem, and know what caused it.

That is why I came here, not for someone to fix it, but for some advice.

So, with that said, here is my reply to your comments, that I do appreciate you giving:

>More comments in the code.
Ok, I'll try to work on doing that before I ever post anything.

>Which parts of the code are producing the error messages?
I don't know, I don't get any error message, EXCEPT the email being returned with this message:
pipe to |/home/user/main_files/email.pl generated by registration@domain.com local delivery failed
That is the ONLY error I get. Nothing in the logs, and so forth.

>What has been tried that should work but didn't?
Sending an email that gets piped to the script, which appears to not even be getting ran. It's almost like it errors before the script even executes. I even added a
open(FILE,">>test.txt") or die "Could not open Test: $!"; print FILE "Got to line xx"; close(FILE);
But test.txt was never created, almost like the script NEVER ran.
I checked the directory permissions.
I checked the Script permissions.
I checked the syntax in Shell: (perl -c email.pl)

I could find NO Problem.

I'm going to try a few things, to clean up the code, but I don't think it will help.

thx,
Richard

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://300199]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-05-22 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found