VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Martinius1979 on July 25, 2012, 16:17:30 PM

Title: Emails are not being sent.
Post by: Martinius1979 on July 25, 2012, 16:17:30 PM
I use Joomla 2.5.6 and the latest VM.

I got everything working now, except for this email issue.

I have registered my Joomla email and VM email at the same in administration.
It does not send out mail at all when registering or when an order is made.

In backend it says this when I try to send a update to orders:

        Could not instantiate mail function.
        Could not instantiate mail function.

        Info: Message sent to Marve moi, larvikcity@hotmail.no

        1 order(s) have been updated

I have no clue of how to fix this.

Title: Re: Emails are not being sent.
Post by: ivus on July 25, 2012, 16:43:29 PM
Hi Martinius1979,

That's wierd. I googled the term "Could not instantiate mail function." and got many answers.

Basically in your GLOBAL CONFIGURATION > SERVER TAB.

You need to set the Mail Settings based on your server setup. Which one should you use will probably be your next question? The answer? no-one knows your server settings... There's only three options to choose from, test each one until one works.

If it doesn't work, then your only option is to contact your hosting provider, as the issue you are having is a Joomla! setup based question and not VM.

I hope this helps.
Title: Re: Emails are not being sent.
Post by: Martinius1979 on July 25, 2012, 19:48:41 PM
Hello.

I tried the three different settings but no luck.

When I send mail from outside of the VM environment, I can send mail.

I sent message to my hosting company, here is the answer:

"I have inserted a test mail script under the document root folder of the domain and I can see that it is coming up without any problems.

http://salgshuset.com/test.php

I suggest you to review your script and make the changes accordingly.

This should resolve your issue"

I have many more websites with the same configuration in joomla backend - the PHP one. They work just fine.

I guess I must go to Joomla forum with this issue? I really did not understand what my hosting provider told me to do..:P
Title: Re: Emails are not being sent.
Post by: Martinius1979 on July 25, 2012, 22:36:16 PM
The solution: Use php mailer from joom 2.5.4 :)