News:

Support the VirtueMart project and become a member

Main Menu

recommend mail sending error

Started by sandomatyas, May 20, 2016, 14:37:08 PM

Previous topic - Next topic

sandomatyas

I can't send the product recommend form if I'm not logged in.
I checked the shopFunctionsF::sendVmMail() function and $replyTo and $replyToName arrays are empty in here: $mailer->addReplyTo($replyTo, $replyToName);
I put a quick fix so if the replyto is empty I write the recipient into it but there should be some check for that :)

Ghost


sandomatyas

You're right, I forgot the versions.
It's already Joomla 3.5.1 + VM 3.0.16

jenkinhill

VM Configuration/Shopfront/Recommend a product, ask questions  - "Allow non logged-in to send a recommendation or ask a question"  set to YES.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum