Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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

In reply to Re: email parsing by powerhouse
in thread email parsing by powerhouse

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-23 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found