Forum OpenACS Development: Re: error among API parameters

Collapse
Posted by Emmanuelle Raffenne on
Hi Iuri,

The from_party_id and to_party_id are args of another callback (acs_mail_lite::complex_send) that was available in 5.4 but has been removed in 5.5.

Anyhow, the implementation in mail-tracking is not correct since it's for the acs_mail_lite::send callback which declares the following args:

ad_proc -public -callback acs_mail_lite::send {
-package_id:required
-message_id:required
-from_addr:required
-to_addr:required
-body:required
{-mime_type "text/plain"}
{-subject}
{-cc_addr}
{-bcc_addr}
{-file_ids}
{-object_id}
}

The implementation must use the same signature. In other words, it's the implementation that need to be fixed, not the callback declaration in acs-mail-lite.

Hope that will help.

Collapse
Posted by Iuri Sampaio on
Yes Ryan,

i can't tell about stable but it's latest 5.5 from cvs HEAD.

Yes Emma,
it helped. thanks!
From now on i should be following acs-mail-lite source code to fix the rest. since it is the last updated.