Error sending payment notification to admin

  • Posts: 1
  • Thank you received: 0
  • Hikashop Business
7 hours 54 minutes ago #370740

-- url of the page with the problem -- : cancunflowershop.com.mx
-- HikaShop version -- : 6.3.0
-- Error-message(debug-mod must be tuned on) -- : "Could not access file: www.cancunflowershop.com.mx/media/com_hi...ail/header_black.png
An error happened during the resending of the email"

HikaShop is not sending the Payment Confirmed. When trying to resend email from Email History the following error message appears: "Could not access file: www.cancunflowershop.com.mx/media/com_hi...ail/header_black.png
An error happened during the resending of the email"

The file is in place and accessible and it shows fine on the preview.

Thank you in advance

Please Log in or Create an account to join the conversation.

  • Posts: 85237
  • Thank you received: 13914
  • MODERATOR
3 hours 17 minutes ago #370744

Hi,

I think the issue is caused by the "Embed images in emails" option in the HikaShop configuration. When this option is enabled, HikaShop converts image URLs in the email body to local file paths in order to embed them as attachments. However, if the image URLs in your email used a different format than your site URL (for example www.cancunflowershop.com.mx vs cancunflowershop.com.mx, or http vs https), the conversion would fail and PHPMailer would report "Could not access file" because it was trying to open a full URL as a local file path.

We've updated the code so that it now correctly resolves image URLs regardless of whether they use http or https, and with or without the www prefix.

Please download the latest build of HikaShop 6.3.0 from your account and install it over your current version. It should fix the issue.

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum