跳至内容
菜单
此问题已终结
1 回复
8736 查看

How can I define a fix eMail sender-address for a eMail Template? For example: All Order and Shipping Confirmations are always send from service@mycompany.com - no matter which user is logged into the system.

形象
丢弃
最佳答案

You can modify the template to your needs.

With this option, the mail sender are the mail of user, or if not exist, the mail of company, and if again this not exist, the text noreply@localhost:

${object.user_id.email or object.company_id.email or 'noreply@localhost'}

Also, you can specify a fixed mail sender, with write directly the mail.

形象
丢弃
相关帖文 回复 查看 活动
2
1月 24
4393
2
1月 24
10109
1
3月 21
9609
3
1月 20
5617
0
1月 19
7177