1. Thilina Hasantha
  2. icehrm-opensource
  3. Issues
Issue #35 resolved

Email Problem

Vishnu Kumar SR
created an issue

Hi thilina,

We are using ICE HRM app.. its soo nice app.. then i had installed it an server and added some employees details.. it working fine..

now an employee need to apply leave data is saved success fully but i cant get the emails. 1.email for Supervisor and 2. email for employee..

how can i solve this one ? if i need to change smtp settings in my server.. please suggest me..

Thanks Advance,

Comments (3)

  1. Vishnu Kumar SR reporter

    Hi Thilina,

    I need to access Cc Email option.. i had try this code in /classes/EmailSender.php

        $smtp = Mail::factory('smtp',$auth);
        $headers = array ('MIME-Version' => '1.0',
        'Content-type' => 'text/html',
        'charset' => 'iso-8859-1',
        'From' => $fromEmail,
        'To' => $toEmail,
        'Cc' => 'srvishnukumar@gmail.com,srvishnukumarmit@gmail.com',
        'Subject' => $subject);

    But i got a mail from and to ... Didnt get Cc email.. please suggest me.. how can i solve this one ?

  2. Log in to comment