News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Could not instantiate mail function.

Started by pm4698, April 21, 2017, 20:15:20 PM

Previous topic - Next topic

pm4698

Hello there,

Joomla 3.6.4
Virtuemart 3.0.18.5

When i finish an order i get a Could not instantiate mail function. message and no e-mail is being sent.

In global congifuration with phpmailer selected if i click on sent test email, email is sent just fine!

In global configuration i have tried changing phpmailer to sendmail and i get this message:
Could not execute: /usr/sbin/sendmail

When change to  SMTP with company mails (HOST: localhost, Port: 25, Security: NONE, authentication: Yes and credentials of email) and try to test through Global configuration i get this:
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Any ideas?

Shouldn't be the phpmailer working just fine?

GJC Web Design

QuoteJoomla 3.6.4
:o

https://developer.joomla.org/security-centre.html

have u a 3rd party email sender or something as "Could not instantiate mail function." sounds like ages ago with the changes in the Joomla mailer
but that was many versions ago

try to trace further were this error is thrown .. full debug and error reporting etc

try VM3.2.0 perhaps (on a clone first)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

pm4698

i upgraded to joomla 3.6.5 and vm 3.0.18.19 and still the same issue. I had VMEE installed but i completely removed it and installled again vm as refered previously but still the same

pm4698

also i noticed that is not VM issue but joomla. if i use other stuff to send mail trhough joomla i get same message

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

pm4698

#5
if i go to Global configuration then either i use php mailer, or sendmail or SMTP when i insert settings and click send test e-mail i receive the e-mail just fine.

But in front-end i cannot send e-mails at all. All the time (either  i use RS!Form forms or another contact module or even after virtuemart order completion) i see the message:
Could not instantiate mail function.

If i had wrong settings i suppose i couldn't send test mails also, correct?

Also i contacted with my hosting provider they checked file permissions -> just fine and they told me that they support php mailer

jenkinhill

Best to ask on the Joomla forums, as it is a general J! problem, not VM.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum