Started to dig into Joomla and VirtueMart for past 2 weeks, it has been a great experience as in the extendibility and fast deployment, but there were some situation that GUI configuration isn’t enough, we’ll have to dig into the codes, and Google result isn’t much. I’ve came across a problem where I can use Joomla’s mass mail to blast out email, but not a single mail from the VirtueMart, be it in activation mail, order confirmation mail, or order update mail.

I’ve been using Gmail SMTP in my Ubuntu for testing, and this is the end result that works. Helpful reference: VirtueMart forum

Mail Settings

Mailer: SMTP Server   
Mail from: <name@gmail.com>  
From Name: name  
Sendmail Path: /usr/sbin/sendmail  
SMTP Authentication: Yes  
SMTP Security: None  
SMTP Port : 25  
SMTP Username: <name@gmail.com>  
SMTP Password:   
SMTP Host: ssl://smtp.gmail.com:465

Kind of weird when I set the SMTP Host to smtp.gmail.com with the SMTP Security to SSL, port 465, it just won’t work, after came across that forum, I change the host, security and port, and it works magically.