Email configuration

Please help me about email configuration in Dolibarr 4.0.1. I have set my E-mail on Setup Menu like shown below

Disable all e-mails sendings (for test purposes or demos) No
Method to use to send EMails SMTP/SMTPS socket library
SMTP/SMTPS Host (By default in php.ini: localhost) smtp.zoho.com
SMTP/SMTPS Port (By default in php.ini: 25) 465
SMTP ID if authentication required desk@host
SMTP Password if authentication required ***********
Use TLS (SSL) encrypt Yes
Use TLS (STARTTLS) encrypt No
Sender e-mail for automatic emails (By default in php.ini: Undefined) desk@host
Sender e-mail used for error returns emails sent supervisorname@host
Send systematically a hidden carbon-copy of all sent emails to

Test server connectivity --> works
Test sending email --> works

I have users let say his name is Peter and his email is peter@host

Problem :
When Peter try to validate Leaves on HRM menu it goes to a blank page and i have to refresh the page to make the page validated for Leaves confirmation without email send to me as his supervisor. But when i change Peter’s email to desk@host it works when Peter creates another Leaves request and the page not go to a blank page like i have mentioned before and an email successfully send to me from desk@host shown that Peter was requested a leave request to me as his supervisor.

My question
How to configure email validation or notification so Peter’s email in his user area is using peter@host instead of desk@host

When you got the blank page, can you have a look in the error log of apache and report what you found ?

[Mon Oct 03 10:40:45.519279 2016] [:error] [pid 4859] [client 202.62.17.140:7606] PHP Warning: Header may not contain more than a single header, new line detected in /var/www/html/htdocs/holiday/card.php on line 388, referer: http://51.72.183.43/htdocs/holiday/card.php?id=7&action=sendToValidate
[Mon Oct 03 10:40:45.519317 2016] [:error] [pid 4859] [client 202.62.17.140:7606] PHP Stack trace:, referer: http://51.72.183.43/htdocs/holiday/card.php?id=7&action=sendToValidate
[Mon Oct 03 10:40:45.519329 2016] [:error] [pid 4859] [client 202.62.17.140:7606] PHP 1. {main}() /var/www/html/htdocs/holiday/card.php:0, referer: http://51.72.183.43/htdocs/holiday/card.php?id=7&action=sendToValidate
[Mon Oct 03 10:40:45.519333 2016] [:error] [pid 4859] [client 202.62.17.140:7606] PHP 2. header() /var/www/html/htdocs/holiday/card.php:388, referer: http://51.72.183.43/htdocs/holiday/card.php?id=7&action=sendToValidate

Thank you for your fast respond

anybody can help me with this issue ?..i’m a newbie so your help could mean a lot to me and others perhaps…thanks in advance