How is a confirmation email sent on an order placement?

Case 1. Web API


Case 2.

Case 3

Implementation

See also:

How are the send_email (setSendEmail, getSendEmail) / email_sent (setEmailSent, getEmailSent) flags used for an order?

How to programmatically detect an order transactional email sending process?