<entity-engine-xml>
....
</entity-engine-xml>
Here are some examples lines:
<SystemProperty systemResourceId="general" systemPropertyId="defaultFromEmailAddress" systemPropertyValue="email.address.used.to.send@domain.used.to.send" description="general default 'fromEmailAddress' can be overridden in: EmailTemplateSetting"/>
<EmailTemplateSetting emailTemplateSettingId="EMAIL_PASSWORD" subject="New Password Sent (${userLoginId})" fromAddress="email.address.used.to.send@domain.used.to.send" description="Used to send a new password at user request"/>
<SystemProperty systemResourceId="general" systemPropertyId="mail.notifications.enabled" systemPropertyValue="Y" description="mail notifications enabled (Y|N)"/>
<SystemProperty systemResourceId="general" systemPropertyId="mail.smtp.relay.host" systemPropertyValue="default.mail.server" description="the default mail server to use"/>
<SystemProperty systemResourceId="general" systemPropertyId="mail.smtp.auth.user" systemPropertyValue="your.username" description="SMTP Auth username setting"/>
<SystemProperty systemResourceId="general" systemPropertyId="mail.smtp.auth.password" systemPropertyValue="your.password" description="SMTP Auth password setting"/>
<SystemProperty systemResourceId="general" systemPropertyId="mail.smtp.port" systemPropertyValue="465" description="Gmail smtp port can be either 465 or 587"/>
<SystemProperty systemResourceId="general" systemPropertyId="mail.smtp.socketFactory.port" systemPropertyValue="465" description="Port needs to be the same as mail.smtp.port"/>
<ContactMech contactMechId="9026" contactMechTypeId="EMAIL_ADDRESS" infoString="email.address.used.to.send@domain.used.to.send"/><!-- here DemoCustomer is used as an example, works OOTB -->
<ContactMech contactMechId="admin" contactMechTypeId="EMAIL_ADDRESS" infoString="email.address.used.to.send@domain.used.to.send"/>
<ProductStoreEmailSetting productStoreId="9000" emailType="PRDS_PWD_RETRIEVE" bodyScreenLocation="component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail" subject="OFBiz Demo - Password Reminder (${userLogin.userLoginId})" fromAddress="email.address.used.to.send@domain.used.to.send"/><!-- here is an example to allow sending new password emails-->