Post by venom85jojes » Mon Dec 30, 2024 7:05 pm

Hello everyone,

I'm facing an issue with the order confirmation emails in OpenCart 3.0.2.0. By default, these emails include an attachment with no content (a 0-byte file). Recently, I added a new PDF attachment (Terms and Conditions) to the order confirmation emails, so now these emails come with two attachments: the intended PDF and the 0-byte file.

The filename of the empty attachment changes constantly (e.g., 1525019890), and I can't seem to locate its source. I've already checked the catalog/controller/mail/order.php file, but there’s no $mail->AddAttachment(...) call that would explain this issue.

Could someone please guide me on how to prevent this empty file from being attached to the order confirmation emails?

Thanks in advance for your help!

dg me paystub


Newbie

Posts

Joined
Mon Dec 30, 2024 7:02 pm

Post by Cue4cheap » Mon Dec 30, 2024 9:39 pm

venom85jojes wrote:
Mon Dec 30, 2024 7:05 pm
Hello everyone,

I'm facing an issue with the order confirmation emails in OpenCart 3.0.2.0. By default, these emails include an attachment with no content (a 0-byte file). Recently, I added a new PDF attachment (Terms and Conditions) to the order confirmation emails, so now these emails come with two attachments: the intended PDF and the 0-byte file.
Since this is not a "default" thing Opencart does, what extension are you using to make it attach the file?
Have you ask the extension creator?
Any errors in the error logs?
What was changed before when it was working and now?
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by nonnedelectari » Tue Dec 31, 2024 7:55 am

which mail engine, php mail or smtp?

Active Member

Posts

Joined
Thu Mar 04, 2021 6:34 pm
Who is online

Users browsing this forum: Semrush [Bot] and 16 guests