Adding image to "Send an email" body from server
Issue #728
new
Hello Fidel,
I would like to ask you if it's possible somehow to add to the email body the image that it's store on Jira server side. I would like to send an email with logo of my company at the top/bottom and less important to use it also in a footer.
p.s in "email this issue" I used sth like that but I would like to just stay with JWT: <img id="footer-pattern-logo-desktop" src="$attachmentsManager.getImageUrl("/images/mail/logo.jpg")" alt="logo" title="logo" class="image_fix" />
Cheers, Hubert
Comments (2)
-
repo owner -
reporter Hi @fcarmario,
Thanks for your answer. It means for me that I need to install php server or sth like to just fetch the logo from it :( (I don't have connection to www)... Nevertheless thanks for your reply!
Cheers, Hubert
- Log in to comment
Hi @hkut,
You can do it by making the logo image file available through http, instead of attaching it to the email. Then you only have to replace
$attachmentsManager.getImageUrl("/images/mail/logo.jpg")
with the logo image URL.Example:
<img id="footer-pattern-logo-desktop" src="http://myserver.com/resources/images/mail/logo.jpg")" alt="logo" title="logo" class="image_fix" />