spatie / mailcoach-support

Questions and support for Mailcoach
https://mailcoach.app
31 stars 2 forks source link

Images not showing in Campaign email #213

Closed Elandlord closed 4 years ago

Elandlord commented 4 years ago

Hi,

Yesterday, we bought Mailcoach, so that we could integrate it into an existing Laravel project. After a couple problems with Redis and other configuration files, I managed to get it to work. Interesting stuff!

Everything seems to be working fine, however, images I added in a Template are not showing up when sending an e-mail. They are working when I try to preview it.

image

After sending, this is what's left:

image

I'm using SendGrid as a mailer, and Unlayer as the Template editor. I have followed the installation instructions for the Unlayer editor, as listed on: https://mailcoach.app/docs/v2/package/customizing-the-editor/unlayer. I'm running this on my local machine (macOs).

Is this a known problem, any pointers to where the problem might be?

Thanks in advance!

freekmurze commented 4 years ago

What is the path used in the broken image?

Elandlord commented 4 years ago

https://ci6.googleusercontent.com/proxy/3poPivFLQn9DKtJ9HypDfHR-hYguqwrZ1I_WXumt1A1BPLP3LX6WpmEH8F1-L63-tLqWu20ZnJKI_rEXHZvpxmtsg41DUWHOwE0ax2boC1gZc24pxTRjx1GGmkU=s0-d-e1-ft#http://allesinbeweging.test/storage/3/conversions/bikker-terras-image.jpg

I see it references the local URL, surely that seems to be the problem?

I was unaware of this. I figured the uploads were stored in the database.

Elandlord commented 4 years ago

I can confirm this is not an issue. I've deployed my project to a server and got the images to work.

Thanks!