When you use the form "Ask a question on the product", you get an error 500 due to the fact that the sender name does not pass validation. Who had the sense to substitute the User name to the mail of the seller? How to solve this problem?
If the "Name" field to enter the e-mail, then the form works. If the name input we get the following:
Invalid address: My Name
...\libraries\vendor\phpmailer\phpmailer\class.phpmailer.php:857
852 // At-sign is misssing.
853 $error_message = $this->lang('invalid_address') . $address;
854 $this->setError($error_message);
855 $this->edebug($error_message);
856 if ($this->exceptions) {
857 throw new phpmailerException($error_message);
858 }
859 return false;
860 }
861 $params = array($kind, $address, $name);
862 // Enqueue addresses with IDN until we know the PHPMailer::$CharSet.
Update VirtueMart to 3.0.16.
Can it be possible that you have updated your Joomla to J3.5.1? If so you should be using VM3.0.16 with Joomla 3.5.1 otherwise emails won't work. http://dev.virtuemart.net/projects/virtuemart/files
Discussed here many times:
http://forum.virtuemart.net/index.php?topic=133760
http://forum.virtuemart.net/index.php?topic=133763
and others.
And not just files to replace? I'm afraid to upgrade to 3.0.16 - who knows what else may appear.
О.. Thanks, I just made changes to shopfunctionsf.php (function sendVmMail)
All my sites are on 3.0.16-J3.5.1 .. all stable
depends of course on your templates and if you've been hacking