1

Magento 2.3.1 order emails are not getting generated after successful order.

OS: Ubunut 18.04 Payment Gateway: Fatzebra

Used following code to generate emails. https://magecomp.com/blog/send-order-confirmation-email-after-successful-payment-magento-2/

I have also tried to make it work by disabling store->configuration->Sales->Sales Email->Order to No/yes both options but still not working.

PhantomS
  • 420
  • 4
  • 14
  • What does `var/log` says about it? Are there any logs there? – Jas May 21 '19 at 05:04
  • @joshua no logs – PhantomS May 21 '19 at 05:38
  • Are you using SMTP to send emails? – Jas May 21 '19 at 05:43
  • @joshua I figured it out smtp needed to be configured . Since magento community doesn't come with proper smtp configurations (stores->configuration->Advanced->system->Mail Sending Settings) so I sued MagePal free extension. There is also another smtp extension by mageplaza but for me its now working with my magento version 2.3.1. – PhantomS May 21 '19 at 06:29
  • 1
    Glad to be able to help :) When it comes to mails, it usually boils down to SMTP. In most cases, SMTP must be configured. – Jas May 21 '19 at 06:31

2 Answers2

1

You can use SMTP for Magento 2 for sending emails.

I use the SMTP extension by Mageplaza on my projects.

Jas
  • 188
  • 1
  • 3
  • 16
  • which version of magento are u using – PhantomS May 21 '19 at 06:34
  • I'm using Magento 2.2.4 currently. – Jas May 21 '19 at 06:36
  • Im using magento 2.3.1 mageplaza I tried but didnt work although they say its compatible now. https://github.com/mageplaza/magento-2-smtp/issues/129. However, MagePal worked perfectly fine. – PhantomS May 21 '19 at 06:38
  • Use the extension which works best for your current version. I use mageplaza because it is stable in my current magento version. – Jas May 21 '19 at 06:40
0

Use magepal or Magepalaza smtp extension whichever works with your magento version.

PhantomS
  • 420
  • 4
  • 14