Showing posts with the label hybris to email

How to set fix toAdress in Hybris for all email?

If you want to send all emails to some fix  toAddress , in that case, you need to override  email  and  displayName  in respective  *EmailContext  of  renderer template . Let's just assume you want to override  toAddress  in customer registration flow. So here you need to find context class name form Impex. Below are the renderer template for customer registration subject & body and  CustomerEmailContext  is the class name which will feed all data to this renderer. # Email velocity templates INSERT_UPDATE RendererTemplate ; code[unique=true] ; contextClass ; rendererType(code)[default='velocity'] ; powertools_Email_Customer_Registration_Body ; $emailPackageName.CustomerEmailContext ; powertools_Email_Customer_Regist