VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Customer / User Management VM 1.1 => Topic started by: WovenGems on October 12, 2010, 19:05:14 pm

Title: Email problem
Post by: WovenGems on October 12, 2010, 19:05:14 pm
Ok.. I have been working on this problem for two weeks now and i can't seem to fix it.

I have a problem with email for order confirmations, status changes and registration. In fact, no emails get sent at all. Not to me, not to the customer. I tried several things and by now i've found out it has to be caused by virtue mart, because when i try to register on my own website through the normal joomla login module it works without problems, so it's not in the email settings of my website.

When i try to register (since i'm going to focus on that problem, if that works i'm assuming the other emails will to) i now get the following errors

Notice: Undefined variable: mosConfig_smtpport in /home/wovengems/public_html/administrator/components/com_virtuemart/classes/ps_main.php on line 506

Notice: Undefined variable: mosConfig_smtpsecure in /home/wovengems/public_html/administrator/components/com_virtuemart/classes/ps_main.php on line 507

Notice: Undefined variable: mosConfig_smtpport in /home/wovengems/public_html/administrator/components/com_virtuemart/classes/ps_main.php on line 506

Notice: Undefined variable: mosConfig_smtpsecure in /home/wovengems/public_html/administrator/components/com_virtuemart/classes/ps_main.php on line 507

Notice: Undefined variable: mosConfig_smtpport in /home/wovengems/public_html/administrator/components/com_virtuemart/classes/ps_main.php on line 506

Notice: Undefined variable: mosConfig_smtpsecure in /home/wovengems/public_html/administrator/components/com_virtuemart/classes/ps_main.php on line 507


I'm lost, don't even know where to start looking. I'm using Virtuemart 1.1.5 and Joomla version 1.5.20.

Any ideas are welcome, i'm dying to get this website working. If you need any more information just ask..

if you want to check the website take a look at www.wovengems.nl
Title: Re: Email problem
Post by: PRO on October 12, 2010, 19:57:23 pm
what php version are you using?
Title: Re: Email problem
Post by: WovenGems on October 12, 2010, 20:07:11 pm
i'm not compltely sure where i can find that.. would php5 makes sense? that's the folder the php.ini is in
Title: Re: Email problem
Post by: WovenGems on October 12, 2010, 20:08:18 pm
it runs on.. says.. virtualmin 3.80.gpl on ubuntu linux 8.04.4
Title: Re: Email problem
Post by: jenkinhill on October 13, 2010, 11:01:55 am
PHP5 is not accurate enough. In Joomla admin select Help/System info - the version is shown there.
Title: Re: Email problem
Post by: WovenGems on October 13, 2010, 11:03:42 am
5.2.4-2ubuntu5.10 is what it says after php version.
Title: Re: Email problem
Post by: PRO on October 13, 2010, 15:37:13 pm
is this local?
Title: Re: Email problem
Post by: WovenGems on October 13, 2010, 16:08:52 pm
local? is what.. local? i'm starting to feel a bit stupid lol
Title: Re: Email problem
Post by: PRO on October 14, 2010, 14:52:56 pm
I mean is the site on a live server? on the web?
nevermind, just saw your url
Title: Re: Email problem
Post by: PRO on October 14, 2010, 14:59:30 pm
could the problem be in your joomla admin mail settings?

Can you register for a joomla account, and get the email?
Title: Re: Email problem
Post by: WovenGems on October 14, 2010, 17:16:31 pm
Hi, yes, if you register through the normal Joomla login form or register form, you get an email without problems. Other fucntions that i had with email also worked with no problems, that's why i think my email settings are correct.  But for some reason they won't work with virtue mart
Title: Re: Email problem
Post by: PRO on October 14, 2010, 17:31:52 pm
did it ever work? or did you just upgrade?
Title: Re: Email problem
Post by: WovenGems on October 14, 2010, 19:07:02 pm
Virtue mart has never worked for me yet, this is my first install and that went smoothly, it hasn't worked from the start
Title: Re: Email problem
Post by: PRO on October 15, 2010, 00:34:52 am
ave you messed with any of the permissions in the functions?

have you tried to allow html AND non html emails in the vmart admin?
Title: Re: Email problem
Post by: WovenGems on October 15, 2010, 09:30:51 am
Both html and non html don't work, i had tried that. Also, at some point i got tired of it and tried to reinstall everything. Even after a clean install where i didn't touch anything yet the mails for registration wouldn't send.. even though i don't get the errors as above anymore, the emails don't end up in normal OR junk mail folder.
Title: Re: Email problem
Post by: jenkinhill on October 15, 2010, 10:43:22 am
Failure to send any emails is usually because the host server prevent certain actions. That's why Joomla offers 3 different ways to handle mail. Check the Mail Settings in Joomla Gobal config/Server
 
Title: Re: Email problem
Post by: WovenGems on October 16, 2010, 15:31:28 pm
After searching more and more forums i finally found a solution and decided to post it here in case someone falls over the same problem.

The email settings below seem the same however, it only works with the top one and not with the bottom one.. so if you have your email settings set as the bottom one and it doesn't work.. try changing them!

configuration in general configuration that works:
mail server: SMTP server
Adress: name@gmail.com
Name: name
SMTP identification: Yes
SMTP security: none
Port: 25
User: name@gmail.com
Passwd: passwd
Smtp host: ssl://smtp.gmail.com:465

And IT IS NOT EQUIVALENT TO

mail server: SMTP server
Adress: name@gmail.com
Name: name
SMTP identification: Yes
SMTP security: SSL
Port: 465
User: name@gmail.com
Passwd: passwd
Smtp host: smtp.gmail.com
Title: Re: Email problem
Post by: bryantomalley on December 10, 2010, 00:56:21 am
WovenGems you f'n rule!!! After hours of searching, this finally fixed the confirmation email issue I was having. THANK YOU!!!