This mod will enable you to change the email sender name from OrangeHRM to whatever you like.
It is already possible to change the email address by logging in as an Admin then:
Change OrangeHRM to whatever you want.
Save the changes, restart Apache, test an email and the new name should appear with emails.
It is already possible to change the email address by logging in as an Admin then:
- Go to: Admin > Configuration > Email Configuration (/symfony/web/index.php/admin/listMailConfiguration)
- Click on Edit, now enter any email address in the Mail Sent As field
- Now notifications sent by the system appear as OrangeHRM [your_email@address.com]
\symfony\apps\orangehrm\lib\model\core\Service\EmailService.php
Line no.
195 $this->messageFrom = array($this->emailConfig->getSentAs() => 'OrangeHRM');
466 $message->setFrom(array($this->emailConfig->getSentAs() => 'OrangeHRM'));
Change OrangeHRM to whatever you want.
Save the changes, restart Apache, test an email and the new name should appear with emails.