I have used this below code in default content to generate text Junit test reports.
${JELLY_SCRIPT,template="text"}
But now I wanted same in HTML format. I have changed content type to HTML and placed below code in default content -
${FILE,path="index.html"}
But I am getting html code in my email. Where did I miss ? Any Suggestions..
If you are seeing HTML code in you email, maybe you need to set the content type of the email to HTML(text/html).
You can change the Default Content Type to HTML(text/html) in the Jenkins System Configuration in the Extended E-mail Notification section.
Alternatively you can change the content type in the Job configuration.
If you are using Email ext plugin, then go to your workspace, there should be an 'emailable-report.html' generated. So set the correct path in default content like this:
${FILE,path="path/to/your/emailable-report.html"}
Instead of index.html , given path for those HTML files which are generated like all-tests.html. It worked fine. There may be a issue with frames.
Related
i need a multiple file upload with drag&drop in a powermail form. I made it with jQuery that added the files to a hidden iput field. Does anyone know how i can attach these files to the receiver email. i tried with typoscript ..addAttachment and ...data = GP:tx_powermail... but it seems to work only with a static file.
I would first try to use the Powermail default https://docs.typo3.org/typo3cms/extensions/powermail/stable/ForEditors/AddANewForm/FieldFile/Index.html - then extend the frontend from there.
I have an htmlmail.tpl.php who theme all my emails with an header and footer, the problem is that this file theme all the emails except one. The password reset email, it's the only one I doesn't make a custom template file so I was thinking that was because of this but after trying to create a custom template file it's the same result. Theme doesn't appear.
I've search on the web for like two days but can't find any solution, anyone can help me ?
This
mimemail-message--user-pasword-reset.tpl.php
template file name is not worked.Belowone worked for me
mimemail-message--password_reset.tpl.php
Found here : https://drupal.stackexchange.com/questions/199364/what-is-the-name-of-the-template-to-theme-a-reset-password-mail
I'm using Keycloak to send a forgot password email, and from what I've read on their docs and the FreeMarker docs, it seems like I should be able to use HTML tags just fine. However, when I use them in the password-rest.ftl file, it renders the whole tag like so:
<p>Some Text</p>
instead of just showing: Some Text
I found this (https://issues.jboss.org/browse/KEYCLOAK-681) saying that Keycloak can only send plain text emails, and I just wanted to see if anyone knew for sure since I have found some stuff that looks like the HTML tags should be usable How do you block emails from appearing as links in FreeMarker?
Any advice or thoughts on this would be greatly appreciated.
There are two sub-directories containing templates for emails. They are called text and html. When you want HTML you need to edit templates located in html directory.
Keycloak itself sends emails as multi-part messages containing both plain-text and HTML versions - email client decides which one is displayed.
I am not familiar with Keycloak, but somehow you should set the Mime type of your e-mail to "text/html" (e.g. have a look at this Stack Overflow answer).
Which version of Keycloak are you using? Comparing the source code of 'FreeMarkerEmailProvider' in tag 1.2.0.Final and on branch 1.3.x lets me assume that Keycloak is able to handle text/html at least from version 1.3.x on.
But again: I am not familiar with Keycloak...
When i am trying to fetch pages under direct mail folder in TYPO3 backend, It gives following errors
The plain text content could not be fetched.
The HTML content could not be fetched.
This is an error that most of the time shows up if you are missing your templates include static section.
Login to your TYPO3 Backend with administrator access. Next goto your, for example, root template. Select the "Includes"-tab and make sure the next "Include Static" are included:
Direct Mail Content Boundaries (direct_mail)
Direct Mail Plaintext (direct_mail)
Hope this helps you out.
Try adding your server ip and domain to the /etc/hosts file if you are linux...if you are in windows to \System32\drivers\etc.
A deitalled description can be found here:
http://devbackyard.blogspot.pt/2012/10/direct-mail-typo3-content-could-not-be.html
I am using jeditable and had it working very weird.
after editing the editable field and submits it instead of printing the new content it displays the entire document window in the textbox(placeholder of editable content).
question: from the example where the author used save.php. what was the content of save.php?
is it necessary to send the result on a php file?? can't an HTML file work?
I believe within the comments box at the bottom of the author's main page - somebody has kindly provided a version of the save.php file for people to use and modify as needed.
The save.php file is used to actually save the values of the editable field/s. Without it, nothing would happen to the data and it would reset to the default text if the page is refreshed.
Options instead of a php file could be:
Saving the text/select changes to a Cookie
Using another server side methos such as asp, jsp, rails or .NET to process the saving of the changes.
an html page is a static page with no processing facility per say to communicate with the website server, so no.. html is not suitable for such a need.
Saving script must return the string you want to display on page after editing. You are now returning full html page.
Source of for all demofiles can be found from GitHub.