Hi Mike,
Visforms 3.1.1 is quite an old version, running on Joomla! 3.3.5 which is an old Joomla! Version that is no longer supported as well.
Although you can download Visforms version, that run on Joomla! 3.3.5 or lower (and even Joomla! 2.5) there is no further development for those Visforms versions.
In the time since the release of Visforms 3.1.1 I have made to major adjustments to the mailing.
1. Add replayTo header to mail (hopefully less problems with being blocked as spam): Mailfrom should always use the registered domain name of the website to prevent mails from being classified as spam (by relay server). (Visforms 3.2.0)
2. Mails are sometimes blocked by spam filters due to too many characters in one line. Set encoding option in mails to enforce proper line breaks. (Visforms 3.4.3)
Actually I think, that your problems with sending mails with long text are those which where fixed by the 2. code change.
If you do not want to update your website to a current Jooma! Version (3.4.8 ) and update Visforms as well to the latest stable version (3.5.7) which obviously is a big step which needs backups and testing..., you can try to change the functions in the Visforms core file and add the code change, made in Visforms 3.4.3.
Please make a backup copy of the components/com_visforms/models/visforms.php file
Then change the original
Code:
components/com_visforms/models/visforms.php
file.
Find the
Code:
private function sendReceiptMail($visform)
add
Code:
$mail->Encoding = 'base64';
after
Code:
$mail->IsHTML (true);
at the end of this function.
You can add this line to the
Code:
private function sendResultMail($visform)
as well (same position).
You don't need to worry about future updates of Visforms on your website because they will contain this code changes already.
Regards,
Aicha