VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Jay on July 30, 2018, 16:58:37 PM

Title: Buyer Email Not Sending/Receiving
Post by: Jay on July 30, 2018, 16:58:37 PM
Joomla 3.8.10
Virtuemart 3.2.15
com_tcpdf_1.0.4 (tried 1.0.5 but received "not installed error")
Php 5.6.37

URL https://www.spencerswesternworld.com/joomla3/

- Recently I moved this Joomla installation from the dev server to the live server (in a sub-directory).
- Prior to moving, the Buyer emails were being sent
- Now on live server (with secure certificate functioning), all emails work except Buyer confirmation email.
- Global Configuration > Server > Mail Settings
    Have it on Sendmail (test works fine)
    Had it set to Php Mail (also worked fine)
- I've cranked up the PHP server settings:
    max_execution_time: 200
    max_input_time: 120
    memory_limit: 1024M
    post_max_size: 400M
    upload_max_filesize: 400M
- Payment method: alatak_creditcard (offline processing plugin)
    Email in alatak_creditcard  preferences set (working fine)
- See attached VM Email Settings

I'm wondering if it's a Php version issue. I can't go up to 7.1 because clients live site is on same server running Joomla 1.5.
Also wondering if it might be a Global Configuration email setting ~ maybe need to use / configure SMTP settings (I doubt this)

I'm a day or two from my client pulling the plug on me after I've logged about 140 hours on this migration / reconfigure / redesign. Help would be soooo very much appreciated. Everything is working great except this Buyer email send/receive issue. Thank you.
Title: Re: Buyer Email Not Sending/Receiving
Post by: GJC Web Design on July 30, 2018, 17:16:39 PM
are the orders going to one of your chosen status that sends mail?

Try flipping the status of a test order to an email you can receive.

php 5.6 will be fine

what is the status of a completed order by Alatak CC?

try debugging full up and chk server errors

deselect all the attachments  -- i.e. select none

if the pdf creation fails it could block the mail sending
Title: Re: Buyer Email Not Sending/Receiving
Post by: Jay on July 30, 2018, 17:50:05 PM
Quoteare the orders going to one of your chosen status that sends mail?
In the screen pic above it shows the settings. The order arrives as "Confirmed by Shopper".
The "Email shopper fields for shopper emails" is selected as "E-Mail".
The "Default Order Status to send email to shopper includes "Confirmed by shopper"

QuoteTry flipping the status of a test order to an email you can receive.
For testing, I have the following emails configured (all able to receive emails):

Frontend Buyer: me@myGmailAccount.com
Global Configuration : Php Mail or Sendmail (both work)
Vendor Shopper > Virtuemart > Shop > Shopper Information: test@MyWebmasterEmail.com
Credit Card Processing > Virtuemart > Shop > Payment Methods: test@My2ndWebmasterEmail.com

I receive all except from the buyer.

QuoteTry flipping the status of a test order to an email you can receive.
Done - still not receiving.

Quotephp 5.6 will be fine
Thank you.

Quotewhat is the status of a completed order by Alatak CC?
Status is "Confirmed by Shopper"

Quotetry debugging full up and chk server errors
Ugh ~ not my best skill. Will have a go.

Quotedeselect all the attachments  -- i.e. select none
None included. I was wondering if the email to buyer sends a pdf and if I could turn that off.

Quoteif the pdf creation fails it could block the mail sending
I've read the VM  documentation on this. Very complex (a bit confusing). Guess I'll just have to keep reading it.

Thank you so much!
Title: Re: Buyer Email Not Sending/Receiving
Post by: GJC Web Design on July 30, 2018, 23:10:55 PM
this setting is the pdf creation .. switch to none to test
Title: Re: Buyer Email Not Sending/Receiving
Post by: Jay on August 02, 2018, 20:25:18 PM
Thanks everyone. This problem fixed itself after about 48 hours. Don't know what happened but it's resolved. Thanks again.
Title: Re: Buyer Email Not Sending/Receiving
Post by: Jay on August 04, 2018, 15:58:07 PM
After migrating my clients Joomla site from 1.5 and VM 1.9 to the latest versions, it has been a struggle. The upgraded virtuemart would not send client emails on the development server so I moved it to an active server. For over a day it wouldn't send emails to the shopper. Then it the next day it just worked. It was left on that server for 3 or 4 days and everything was fine.

I then used akeeba & kickstart to backup and move the site to the new active webshost. Once it was in place I changed the nameservers and waited 24 hours. The domain moved fine to the new server.

But now, again, the system isn't sending shopper email confirmations.

My client was furious and I've had to change back the nameservers to the old host and the insecure Joomla 1.5 / VM 1.9 instance. On top of that I'm not getting paid for the job.

What a horrible experience this has been.
Title: Re: Buyer Email Not Sending/Receiving
Post by: GJC Web Design on August 04, 2018, 19:12:49 PM
so it all points to a server config or dns / mailserver problem

the VM code doesn't change or get re-written during the changing of servers... If it works on one and not on the other then the other server is the problem.

With a bit of code knowledge it is easy enough to see if the emails are leaving the mailer script .. they must be otherwise they wouldn't have worked on the "previous" server

Where is your host in all this?  Are they providing no support? They normally have access to a lot more logging than u do?

Title: Re: Buyer Email Not Sending/Receiving
Post by: Studio 42 on August 05, 2018, 11:18:53 AM
When you start a new shop, you should not use a beta release.
About the mail, have you try the simple Joomla mail test ?
Title: Re: Buyer Email Not Sending/Receiving
Post by: GJC Web Design on August 05, 2018, 12:35:50 PM
Quotecom_tcpdf_1.0.4 (tried 1.0.5 but received "not installed error")

what 1.0.5?

use only this for VM - http://dev.virtuemart.net/projects/tcpdf/files