Forum OpenACS Development: acs-mail-lite error?

Collapse
Posted by Jon Griffin on
I upgraded some sites and just now noticed that this error keeps showing up:

Error: can't read "headers(Message-Id)": no such element in array
can't read "headers(Message-Id)": no such element in array
    while executing
"set message_id $headers(Message-Id)"
    (procedure "deliver_mail" line 6)
    invoked from within
"deliver_mail -to_addr $to_addr -from_addr $from_addr  -subject $subject -body $body -extraheaders $extra_headers  -bcc $bcc -valid_email_p $valid_emai..."
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
Did I miss an update or something? I deleted acs-mail from my system and have had no problems, so I wonder if something else is going on.
Collapse
2: Re: acs-mail-lite error? (response to 1)
Posted by Malte Sussdorff on
To which version did you upgrade ?
Collapse
3: Re: acs-mail-lite error? (response to 1)
Posted by Jon Griffin on
4.x - 5.x. Some were 5.0.2 and another was 5.1.1.

I looked through the code in acs-mail-lite-procs and see that where this error occurs it appears to be missing an exception check.

Before I deal with it I wondered if something changed that didn't get upgraded, although looking at the code, I doubt it.