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?
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?
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
to
Basically I removed the extra line break by deleting ."\r\n" in the end.
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.
I don't know if this answers your question, but those are the templates used in the core.