Opened 3 years ago

Closed 3 years ago

#1486824 closed Bugs (fixed)

message_sent returning null

Reported by: rosspointon Owned by:
Priority: 5 Milestone: 0.4-stable
Component: Plugin API Version: 0.4-beta
Severity: minor Keywords: message_sent
Cc:

Description

Hello,

I've found a fault using the message_sent hook - it is returning null, seemingly when $message->getParam('delay_file_io') is true.

I propose replacing $msg_body = fopen($body_file, 'r');
with $msg_body = file_get_contents ($body_file);
at line 1365 in program/steps/mail/func.inc

Thanks,
Ross

Change History (1)

comment:1 Changed 3 years ago by alec

  • Component changed from MIME parsing to Plugin API
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [4eb8493b], so 'body' contains a string or file handle.

Note: See TracTickets for help on using tickets.