Error Logged When Sending PDF Attachment - Even When Successful


When a campaign is sent with a PDF attachment, we are getting system emails stating that there was an error sending. However, the file is sent successfully and people are getting them!

phpList System Error:
“Error, when trying to send campaign 31 the attachment (USS Iowa Camp Battleship Guide.pdf) could not be found in the repository”

So far I have collected over 3000 system messages.

Your help is greatly appreciated.

Attachment received successfully:


It seems that phpList is trying to re-send the same 13 targets:

The following events occured while processing the message queue:

[Fri 5 Apr 2019 12:05] [CL] Started
[Fri 5 Apr 2019 12:05] [CL] Processing has started,
[Fri 5 Apr 2019 12:05] [CL] One campaign to process.
[Fri 5 Apr 2019 12:05] [CL] Processing campaign 31
[Fri 5 Apr 2019 12:05] [CL] Looking for subscribers
[Fri 5 Apr 2019 12:05] [CL] Found them: 13 to process
[Fri 5 Apr 2019 12:05] [CL] Processed 13 out of 13 subscribers
[Fri 5 Apr 2019 12:05] [CL] Script stage: 5
[Fri 5 Apr 2019 12:05] [CL] 13 failed (will retry later)

It seems to be stuck in a endless loop:

@AlanW You can suspend the campaign, then “mark as sent” , to stop phplist continually trying to send to those subscribers.

Does the attachment still exist in the attachment directory?

Thanks Duncan, that’s pretty much what I’ve been doing. The config.php file has this line:

$attachment_repository = ‘/tmp’;

but the tmp directory does not exist in the root directory where phpList is installed (it’s actually in a subdirectory of the domain root as ‘/mailinglist’.)

I went ahead and created the tmp folder and will see if this fixes the problem.

1 Like

Thanks, this solved my problem too.