When enabling SMTP support in cforms, if another plugin already uses the Worpress-provided PHPMailer, the PHPMailer class distributed with cforms causes a "cannot redeclare class" error. Please use the PHPMailer class distributed with Wordpress (wp-includes directory) for better compatibility.
The suggested fix:
In cforms/phpmailer/cforms_phpmailer.php, lines 6-8, replace dirname(__FILE__) with ABSPATH . WPINC; line 22, feel free to remove include_once ('phpmailer.lang-en.php'); line 25, remove $mail->PluginDir.
the PHPMailer class distributed with cforms causes a "cannot redeclare class" error
right. this is fixed in v8.6, having added this (cforms_phpmailer.php):
if ( file_exists(dirname(__FILE__) . '/class.phpmailer.php') && !class_exists('PHPMailer') ) {…
Please use the PHPMailer class distributed with Wordpress (wp-includes directory) for better compatibility.
The problem with using the existing (and previous) WP PHPMailer instance is, that it is obsolete and for example doesn't support SSL/TLS. So from a compatibility point of view, this is in fact bad. So even If I wanted to (which would be common sense to do) I can not use the old PHPMailer software that gets shipped with WP.
If it had worked, then you must have done something that made it stop working. I see this over and over again, either…
…some new plugin installed
…an old plugin updated
…changes on the mail/web server etc.
Try turning off all plugins except cforms. Still an error? Then double and tripple check the form config (see FAQs for hints). Finally, you can check your mail server log files for error messages.