By default the email that is sent is in HTML format. To change this to send a plain text email, edit process.php and search for the term // Set the email body
and you will find these lines:
1 2 3 4 5 | // Set the email body ob_start(); include QUFORM_ROOT . $config['emailBody']; $mailer->msgHTML(ob_get_clean()); $mailer->AltBody = 'To view this email please use HTML compatible email software.'; |
// Set the email body ob_start(); include QUFORM_ROOT . $config['emailBody']; $mailer->msgHTML(ob_get_clean()); $mailer->AltBody = 'To view this email please use HTML compatible email software.';
Change this code to the the following code:
1 2 3 4 | // Set the email body ob_start(); include QUFORM_ROOT . '/emails/notification-plain.php'; $mailer->Body = ob_get_clean(); |
// Set the email body ob_start(); include QUFORM_ROOT . '/emails/notification-plain.php'; $mailer->Body = ob_get_clean();
The email will now be sent in plain text using the content in the file /emails/notification-plain.php. You can edit that file if you want to make any modifications.