Abdallah Kharchafi
Abdallah Kharchafi

Reputation: 41

Send confirmation email when a CustomerUser is registred

I'm trying to create a CustomerUser as a Non-Authenticated Visitors using a new storefront developped in Angular. So when i send this request /api/customerusers a customeruser is created but it's locked and no email is sent to activate it ( not catched in MailCatcher). I found in Orocommerce a Email template called "customer_user_confirmation_email" so i thought its already added in the backend no need to create anything. But when i tried UI of Orocommerce 'DEMOB2B' the confirmation email is sent when a user is registred. I don't know why it is working in Orocommerce demo but not in mine. I checked in System Configuration > Application Settings > Mail Configuration everything is enabled.

Upvotes: 1

Views: 140

Answers (1)

Andrey Yatsenko
Andrey Yatsenko

Reputation: 1956

To use the MailCatcher in OroCommerce, update config/parameters.yml file in your application and set:

mailer_transport: smtp

If you are using the MailCatcher with non default port, then you'll also have to update the mailer_port option.

Upvotes: 0

Related Questions