News:

Looking for documentation? Take a look on our wiki

Main Menu

after update virtuemart not sending emails

Started by Efferinie, November 22, 2013, 09:10:22 AM

Previous topic - Next topic

Efferinie

Hello,

After the update to .22, virtuemart doesn't send any email to the site owner and the purchaser when an order is placed.
Now i've updated to .24, but the same problem.

My contact form on the joomla site sends email succesfull.

How this is possible?

Thanx,
Marvin

jenkinhill

Check settings for Default Order Status to send email to shoppe/vendor in Configuration/Checkout
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


GJC Web Design

Have just fixed a site that was doing this..

Contact and send to friend emails fine, settings correct etc

Turned out it was a Fatal error: Allowed memory size of 33554432 bytes exhausted - obviously during checkout you don't see this

To test try changing the status of orders in the admin and see if the email sends - that's when I saw the error - we increased the memory allocation and emails sending successfully now..
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

Milbo

Interesting, we increase the memory already for creation of pdfs. But it seems we need to ensure 32MB also for the emails.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Jimmie

Simple question. How do I increase the memory? So I can check...

I have the same problem since update to 2.0.24 (a,b)

Regards, John

GJC Web Design

Milbo - yes the site I fixed was attaching the pdf invoice as well

John - ask your host normally  - some hosts let you do it with a php ini etc - but check with them - they will know

Check your allocated memory in Joomla-> Site->system information
php information tab

search for memory_limit
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

GJC Web Design

Just to confirm - had a 2nd site this morning - no confirm emails - memory_limit 32MB - raised to 128 and emails now sending
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

jenkinhill

My view on this is that Joomla 2.5. really needs a minimum of 128Mb - and I prefer to use 256MB although that does not give any speed advantage. Problem is that too many people use shared hosts where it is not possible or permitted to increase memory_limit.
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

GJC Web Design

Indeed - agree - but for some bizarre reason clients tend to think hosting shouldn't cost more than $20 a year ..
supposed they're fed on a diet of Host Gator all you can eat for a dollar...  ;)
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

Jimmie

Hmm... mine is on 128mb. So propably I have an other issue

GJC Web Design

just manually change a status in admin and notify the customer - fatal error? email sent and received? no email?
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

Jimmie

Strange thing is when I change something/a status, I receive an VM email once ??? Changing something again results (mostly) in another email to the vendor once... I don't have a clou  ??? (but luckily I also have ccVOAM which do send an email, so it is not that big problem)

Thanks for your help, John

Milbo

I added

VmConfig::ensureMemoryLimit(96);

to the private sendVmMail function.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/