Magento – Magento2 variable in transactional email

magento-2.1magento2transactional-mailvariables

I would like to add customer email to order confirmation email, but can't figure out how to do that. Is there any predefined variable that i can use in Transactional email templates or what does it take in order get customer email in each order confirmation email?

Best Answer

You can get customer email by below line,

{{var order.getCustomerEmail()}}
Related Topic