• Resolved amirabdi

    (@amirabdi)


    When email is sent to customers, the images are missing the https://example.com (hostname) in their URL (I found this by checking the email logs of my WP Mail SMTP plugin). As a result, the images cannot be loaded by the recipient because their address is http:///wp-content/path/my-image.png.

    My Server’s HTTP_HOST is set correctly. The WordPress Address (URL) and Site Address (URL) are also set correctly.

    I haven’t been able to debug this and my customers are not receiving the tickets they are purchasing. Any help is appreciated.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @amirabdi ,

    Thank you for reaching out.

    I recognize how challenging this must be; but, let me try to assist you here to the best of my abilities.

    Unfortunately, I have not been able to reproduce the issue in my testing environment running only The Events Calendar plugins and the twenty-twenty-one theme. Thus, I suspect there’s a conflict that’s causing the issue here. It would be good to test for conflicts. Could you follow the following steps?

    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts Article before doing anything. 

    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, please keep a working backup of your website.

    Thread Starter amirabdi

    (@amirabdi)

    I went through the suggested steps, none of them fixed the issue. All plugins deactivated. I even removed and reinstalled the Event Tickets plugins but the problem wasn’t solved.

    I’ve read and applied all steps in the Testing for Conflicts Article, no luck.

    Plugin Support Darian

    (@d0153)

    Hi @amirabdi

    Thanks for your response.

    Just to confirm, have you tried switching to a default theme like Twenty Twenty-One while keeping only our plugins active? If not, could you test that and see if it resolves the issue?

    If it doesn’t help, could you try installing the WP Mail Logging plugin, replicate the issue, and check the Mail logs if you still see a broken URL.

    Looking forward to your reply.

    Thread Starter amirabdi

    (@amirabdi)

    yes I tried exactly that.

    i installed the WP Mail logger and it showed the URLs as broken. That’s actually how I first found the root cause.

    Thread Starter amirabdi

    (@amirabdi)

    Let me be more specific: in SMTP logger, it shows the URL as “/wp-content/path/img.png” (without host and without protocol).

    Plugin Support tristan083

    (@tristan083)

    Hi @amirabdi ,

    Thank you for your message.

    Just to be clear, are you placing a Header Image for your ticket emails in Tickets -> Settings -> Emails (tab) -> Email Styling (section)?

    Otherwise, if it is not set, could you try setting it up and see if that header image have the same symptom?

    Thread Starter amirabdi

    (@amirabdi)

    yes, the header image is already set. Surprisingly, the header image is the only image correctly rendered in the email. All other images are broken.

    • This reply was modified 1 year, 3 months ago by amirabdi.
    Plugin Support Darian

    (@d0153)

    Hi @amirabdi

    To confirm, were you able to preview the email correctly from your wp-admin dashboard?

    If so, could you provide:
    A screenshot of how the email should look
    The correct URLs of the missing images

    This will help me better understand the issue and assist you further. Looking forward to your response!

    Thread Starter amirabdi

    (@amirabdi)

    Problem is resolved. It wasn’t related to your plugin, but related to wp-config.php configs and HOST/SERVER urls as well as the wp_content setting in that config file.

    Plugin Support Darian

    (@d0153)

    Hi @amirabdi

    Thanks for your confirmation and I’m glad that it is now working.

    If you have a minute, a great review from you would be amazing!

    https://ww.wp.xz.cn/support/plugin/event-tickets/reviews/

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Missing Host in Emails’ is closed to new replies.