My website is developed using PHP, MySQL, HTML, CSS, and JavaScript. I want to add an automatic email notification system to my existing checkout process so that whenever a customer places an order successfully, I receive an email notification.
The email notification should include important order details, such as the order ID, customer name, contact number, delivery address, ordered products, quantities, total amount, and payment method. The order information should first be saved successfully in the MySQL database, and then the system should automatically send an email to my registered email address.
I want to implement this feature using PHP and PHPMailer with Gmail SMTP. The system should send notifications automatically without requiring any manual action. It should also handle email errors properly without affecting the order saved in the database, and my email credentials should remain secure. The solution should be compatible with my existing website and checkout system.
Delivery charges: Rs. 300 — calculated at checkout.
nice product good quality