I have a dynamic data stored in variable, I want to send the dynamic data in email as body text. when i am trying to send the data through mail,it is sending in one line. I want to send data as it is I written.I want to send with spaces and with new lines.
i got this output:
Dear chandra, This is to Confirm your inperson Interview on 2016-06-19 00:00:00. Below Mentioned are the venue and contact details for your Convenience. please fill feedback form after completed Interview See below links
ThanksShiva,HR
i need as below format :
Dear chandra,
This is to Confirm your inperson Interview on 2016-06-19 00:00:00. Below Mentioned are the venue and contact details for your Convenience.
Thanks
shiva,
HR
$messageinterviewer = $this->input->post('messageinterviewer');// i get data
$feedbackurl = $this->input->post('feedbackurl');
$messagewithfeedbackurl = $messageinterviewer;
$messagewithfeedbackurl .= $feedbackurl;
$this->sendMailToInterviewer ($tointerviewer,$frominterviewer,$ccinterviewer,$subjectinterviewer,$messagewithfeedbackurl);