TYPO3 forum, where mail template placed - typo3

I have TYPO3 7.6.18, and typo3_forum, tell me please, where mail template placed ? I mean when somebody add post to my topic, I get mail. I need this template

it is without template, it placed in code there
/typo3conf/ext/typo3_forum/Classes/Service/Notification/NotificationService.php

Related

Dynamics 365 Email rich text box element path cannot be removed by xrmtinymce

Dynamics 365 version 9
Ultimate goal is to remove the circled element path in the rich text box in the email.
I used XRMTinyMCE but think that I disconnected using it. When I check the solution Web Resource, there's nothing there referencing XRMTinyMCE.
I also tried to change code by add "statusbar: false" by referrencing to How to disable HTML tags from tinyMCE, but seems no matter how I change the app.js, even commenting out <script src="app.js"></script> in index.html, and then publish all, no changes are reflected in the rich text box in the email form.
What else could I try please?
https://community.dynamics.com/crm/f/117/t/270091
Actually I posted in the community and the 2 replies helped answer and solve my question.
Thank you.
CK Editor built-in feature.
Quote from the link: Dynamics 365 email form uses CKEditor that comes out of the box. You can modify the Config.js for CKEditor and add the following line to hide the html tags at the footer:
config.removePlugins = 'elementspath';
Hope that helps.

Gmail removes links' href attributes

I need to use Mustache variables in links' href attributes in my email template.
Link
That works properly in all email clients and web versions except Gmail which removes href attributes. But when I try to hard code the value, everything becomes fine. Have anybody faced this problem and is there any way to solve it not avoiding using Mustache? Thank you in advance for your help!

Keycloak's FreeMarker email template

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...

Moodle: Add variable in 'a href' links in mail template

I have one short question for a hrev link in moodle mail template. When you are subscript to some forum, moodle start to send you a emails from every replay with content where you also have a href links. How can I add same variable in a href link in moodle mail. Explanation, if I reply to some forum , I received email where I have link http://moodle.com/mod/forum/discuss.php?d=132 , now can I add new variable to link and when I will received mail to have link something like this: http://moodle.com/mod/forum/discuss.php?d=132&varialbe=germany&variable2=eu
Note:moodle send email when is activate cron.php script, not when submit replay in replay form.
I hope someone before me already have this issue or have some idea how to find solution, I will really appreciate if He/She want to share with me.
Best Regards,
J.J.
The code is in
/mod/forum/lib.php
Look for the functions
forum_make_mail_text()
and
forum_make_mail_html()
then look for
forum/discuss.php
in the code.
You can add extra parameters there, good luck! :)

Form (phpmailer) in joomla error

I'm having the following problem, i created a folder (named 'forms') to storage the files of phpmailer, then i have to put the action in the form this way: action="forms/mail.php".
But when i tried the form it open a not found page e in the url it appears this: "perfilo/index.php/forms/mail.php", i tried to delete the part "index.php/" and execute the script and it looks like would work without it.
Can anyone tell me how to get rid of this "index.php/" part? Am i doing something wrong or what?
Thanks
You are on the wrong track.
Search for documentation on using Joomla! Mailer.
Some resources to get you started:
JFactory/getMailer
How To Send Email from Your Joomla Extension
You are on the wrong path.
In joomla you need to implement a contact form.You can implement it like following.
Joomla Provides you a default component com_contact Any of the files from com_contact\views\contact\tmpl\ or you can create new layout with your custom design.
And you can access the files in url via wwww.domain.com/index.php?option=com_contact&view=contact&layout=default or your custom layout.
then joomla itself providing some forms if you want to customize that you can do that too.
The action they set in the form to contact controller. and sending the mail.
I got your point of view you are trying to create custom design and set it as article .
If you want to follow your own method.
You can work like this.
the form action leave as empty.
and onclick you have to set the action via jquery and then submit
Hope this may solve your issues