You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Pages: 1
How can I insert newline characters into report emails?
The emails which contain scheduled reports, can be configured in "scheduler.cf".
However, I can't find a way to structure the email body into multiple lines.
The whole text of the email body is in one line.
Regards,
Eike.
Offline
Hi Eike,
If you are using 3.0.3, sending HTML emails should be working. We fixed a bug with HTML messages in 3.0.3.
So, using 3.0.3., you can do the following:
If <mailaction html="true">
You can use:
first line <br /> second line
This will be translated to "first line <br /> second line" in your html message and will introduce a new line.
If <mailaction html="false">
You can introduce new lines by just making a newline using your ENTER key.
So if you have:
first line
second line
.. this will be shown in your email.
Best regards,
Eduardo
Offline
Hello Eduardo!
Thank you for your helpful reply.
I use Version 3.0.2.
The trick to insert `<br/>` into HTML emails works with this version. It solves my problem.
However it seems to be impossible to insert newlines into plain text emails. At least it doesn't work reliably. It works with scheduler notifications, but not with `<mailaction>`.
I think that `<mailaction>` emails are always HTML-emails, even when `<mailaction html="false">` is used in the configuration.
Regards,
Eike.
Offline
Hi Eike,
yes, in 3.0.2 there was a bug where all scheduler emails with an attachment were sent as HTML, as you observed. Check https://reportserver.net/releasenotes/RS3.0.3.html for this: RS-2501 Bug Scheduler emails with attachment are always sent as html
Please upgrade to 3.0.3 to solve this problem.
Regards,
Eduardo
Offline
Hello Eduardo!
I'll update soon. (OK, probably in the new year.)
Regards,
Eike.
Offline
Hi Eike,
we do recommend you to do upgrade soon. The update process is very smooth and easy ( https://reportserver.net/en/tutorials/upgrade-303/ ) and a lot of bugs were corrected in 3.0.3.
Basically, you only have to replace the reportserver files and restart tomcat.
Regards,
Eduardo
Offline
Hello Eduardo!
I have just upgraded to Version 3.0.3. Everything seems to still work. The upgrade process is indeed fairly simple.
Regards,
Eike.
Offline
Pages: 1