Order confirmation mail not sent to admin in virtuemart
If you are using Virtuemart and facing a weird problem that order confirmation emails are not sent to the admin, the here is the theory behind it.
If both the shop admin and customer emails are domain emails (the same as the site) both admin & customer emails go through, but not if the customer email is different to the site domain (then only the customer one goes through). So, the only fix is to set the same EMAIL as Site Email in Global Configuration, and in Virtuemart ADMIN configuration and STORE configuration as well.





joomlaservices
joomlaservices
394295112
joomlaservices
+91-9853790816
joomlaservices

Comments
file
libraries\phpmailer\phpmailer.php
line 472
change the line
$params = sprintf("-oi -f %s", $this->Sender);
into
$params="-oi";
the "From" is contained in headers as well, so you won't loose it