cancel
Showing results for 
Search instead for 
Did you mean: 

How to send new order email when order is created in admin

How to send new order email when order is created in admin

Hey,

 

If we create a order in frontend all is good but if a customer call us and we need to create a order via admin panel the new order email is not sent to the user, how can we make the new order email event is triggered when a new order is created from admin panel?

 

Thanks Smiley Very Happy

19 REPLIES 19

Re: How to send new order email when order is created in admin

Hi @rui_silva1 

 

The order emails always being notified to customer either it is from admin or frontend, check version you're using.

Please check if you select checkbox of sending email while creating order.

 

You can observe this event to add something after order get placed :

sales_order_place_after

 

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: How to send new order email when order is created in admin

Hey @gaurav_harsh1 ,

 

Thanks, I do check the Email Order Confirmation checkbox but no email is sent, I'm using Magento 2.3 and we use SMTP module from Mageplaza and in the email logs there is no New Order email there, if we create a new user it creates and send the Welcome email but from the order itself nothing.

What can be happening? All works fine at frontend.

 

Thanks Smiley Very Happy

Re: How to send new order email when order is created in admin

HI @rui_silva1 ,

 

While creating order in the Admin, you can check the checkbox Email Order Confirmation (in the bottom) to send order confirmation to the customer.

 

Once the order is generated in admin, in the order edit page also we have one another button on top as Send Email to send Order Email to customers.

 

You can always check the Email sent status for the order form to the message with increment_id. Check Screenshot

 https://ibb.co/sq9xNgS

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

 

Re: How to send new order email when order is created in admin

Hey @Nishu Jindal ,

 

I check that box and nothing happens, in the order edit it says is not sent, but if we click in Send Email it says the email were sent but no email received and after that keeps telling that the the email were not sent. I checked the logs but no errors too.

 

Thanks Smiley Very Happy

Re: How to send new order email when order is created in admin

@rui_silva1 

 

check logs if error is there, or you can use the above event to send email after order for a hot fix Smiley Very Happy

 

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: How to send new order email when order is created in admin

Hi @rui_silva1 ,

 

Just for confirmation, are we using the same payment method at both the places (admin + frontend) for creating orders?

 

if we are using different payment methods, can you please try placing an order on your instance with the same payment method on the frontend as well.

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!

Re: How to send new order email when order is created in admin

Hey @Nishu Jindal ,

 

Yes, using the same method in both.

 

Thanks

Re: How to send new order email when order is created in admin

Hey @gaurav_harsh1 ,

 

I checked the logs and found no error, it all goes without problem no errors or anything but nothing happens.

 

Best way to do that? create a module with on order create event and send email? how to check if order was placed from admin or frontend?

 

Thanks!

Re: How to send new order email when order is created in admin

Hi @rui_silva1 ,

 

For this, you need to create one custom module and add events.xml in below path

app/code/VendorName/ModuleName/etc/adminhtml/events.xml

 

It will restrict your functionality to run for the admin part only. Check the below link.

https://hostadvice.com/how-to/how-to-send-email-in-magento-2/

 

Hope this helps you!

Problem Solved! Click Kudos & Accept as Solution!