Hi everybody !
I'm using this method to send HTML mails :
xwiki.mailsender.sendHtmlMessage(...) in a groovy script and it works
perfectly, but I have trouble with pictures.
Indeed, in the content of my mail, I have a <img> tag with a "src"
attribute pointing on a picture located on my xwiki.
When i'm logged on my XWiki, I can see the pictures when I open my
mail.
When I'm not logged on XWiki, I can't see pictures beacause I suppose
I need authentication : does somebody know how I could do to solve this
? I think I have to send a HTTP Authorization Header in the content of
my
HTML mail in order to reach the picture but I don't know how to do, I
've tried with "http-equiv" in the <meta> tag but no success.
Thanks for your help !
Regards, Pierrick