I'm updating the content of notification emails and i have noticed that if i will add some empty spaces at the beginning of a text line the way the test into the notification email will be changed.
Example:
I have changed the code from qa-lang-emails.php file to be something like(meaning i added 3 empty spaces -> the yellow content below):
'welcome_body' => "Thank you for registering for ^site_title.\n\n^custom^confirmYour login details are as follows:\n\n Username: ^handle\n\n Email: ^email\n\nPlease keep this information safe for future reference.\n\nThank you,\n\n^site_title\n\n^url\n\n Let us know what you think of our services!\n\n Takes about a minute to complete our survey at...",
And then in the notification email the content was something like:
justina,
Thank you for registering for DEV Forum.
Please click below to confirm your email address.
https://forum.dev.temenos.cloud/?qa=confirm&c=zam4apmm&u=justinaY1
Your login details are as follows:
Username: justina
Email: justina+12456@gmail.com
Please keep this information safe for future reference.
Thank you,
DEV Forum
https://forum..../
Let us know what you think of our services!
Takes about a minute to complete our survey at
As you can see above the yellow lines, the format of that text is different than the other lines of the email.
My actual question is: How can i apply similar changes for the Question/Answer content that will be displayed into the notification email?
Expected result: Content of the email to be like:
justina,
Your question on DEV Forum has been answered by dev_admin:
theoretically it should be possible …let me check and come back to you
Your question was:
Is there a way to change the design of notification emails?
If you like this answer, you may select it as the best:
https://forum....
Thank you,
DEV Forum
Let us know what you think of our services!
Takes about a minute to complete our survey at ...
My issue: The idea is that the content of a question or the content of an answer is added to the email notification via some "variables" (in the code we have something like: ^open^c_context^close or ^open^c_content^close, etc.). I'm afraid i have no idea (i have no idea about coding in php) how to update the code to add those 3 empty spaces to those "variables". Can you help me please?