For the e-mail sent from my report I need to add a graphical signature. Of course there is no problem to put any html-code in the body, but I can't just do img href with some url, because the picture is supposed to be sent with the email and not to be downloaded from any server by the recipient of the mail. How can I attach the picture to the email?
Inserting pictures?
(5 posts) (2 voices)-
-
Hi,
you can convert the signature into the data URI and use it as SRC attribute for a IMG-tag. Use that withdbr.html
-command inside the email report.--
myDBR Team -
I added the signature with data URL to my mail function in the report and it looks good.
But now I got a problem.
I have a form with some fields to fill for sending the email. When I leave the last one (optional) empty, everything works. When I write something there, on trying to send the email I get:
Report security hash does not match. Report execution aborted
This problem appears since I added the signature. What could cause it? -
It is unlikely that the signature is causing the problem.
Please open a support ticket with code for your reports. Also, make sure you are using the latest version.
--
myDBR Team -
You're right. Removing of the signature doesn't help. Thanks for the tipp. I will look for the error
Reply
You must log in to post.