News:

Support the VirtueMart project and become a member

Main Menu

Emails are not being sent.

Started by Martinius1979, July 25, 2012, 16:17:30 PM

Previous topic - Next topic

Martinius1979

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.


ivus

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.

Martinius1979

#2
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

Martinius1979

#3
The solution: Use php mailer from joom 2.5.4 :)