I believe filename is the name that is put into the email as the hypothetical filename of the attachement. $attach_file seems to me more interesting as it is the name of the actual file on disc that is attached. And $attach_file is printed into the logfile a bit earlier in this line: $Log->debug("found attach_file $attach_file");
MichaelMeyer, apart from following apls advice you might check whether in the case that the script hangs the attach_file exists and is readable and the filename doesn't have some strangeness (i.e. is an empty string, begins with '..', '-' or has spaces in it).
In reply to Re^4: Mail::Sender hangs once in a while
by jethro
in thread Mail::Sender hangs once in a while
by MichaelMeyer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |