Is there a way to customize the email that gets sent out via our form manager?

Permalink 1 user found helpful
My client is asking if there's someway we can make the email that gets sent out to him from his forms single spaced instead of double spaced. If so.. Where can I find that page in the directory structure?

getjoel
 
adajad replied on at Permalink Reply
adajad
The mail templates are located in 'webroot/concrete/mail'. Copy the template you want to change to 'webroot/mail' and make your changes.

I don't know if this answers your question, but those are the templates used in the core.
getjoel replied on at Permalink Reply
getjoel
I don't see any breaks or paragraphs breaks on that page.. Any idea on how to change the formatting to single spaces or no paragraph break between questions and answers?
adajad replied on at Permalink Reply
adajad
I just tested it myself and here is what I did with a simple form.

I copied block_form_submission.php from 'webroot/concrete/mail' to 'webroot/mail'.

In 'webroot/mail/block_form_submission.php' I then changed row 6 from
$submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answer']."\r\n"."\r\n";


to
$submittedData .= $questionAnswerPair['question']."\r\n".$questionAnswerPair['answer']."\r\n";


Basically I removed the extra line break by deleting ."\r\n" in the end.