Am sending an email via adonis mailer and i would like to get the domain name to include in the images on the edge files but am stuck on how to add the domain name as emails sent dont display the images
So in my email edge file i have
<html>
.....other stuff
<img
src="{{ assetsUrl('images/logo.png') }}"
/>
</html>
This doenst display the logo.
A quick check on the output of
{{assetsUrl('images/logo.png')}}
it displays
/images/logo.png
This shows that the domain name is not included i n the assetUrl helper. How can i get the domain name in the edge file, so that the src propery is complete to display the image