[eluser]leviathan28[/eluser]
Hi people,
I'm trying to send an email using mutiple spaces to make the message look like this:
Code:
Internet Agentur t: 0681/1112222
Irgendeine Straße 1, 66117 Saarbrücken f: 0681/2223333
Geschäftsführer: Irgendwer w: www.somesite.de
But the additional spaces disappear when sending the email.
Here is how I send the email:
Code:
$str_kunde_mail = $objAP->email;
$str_user_mail = $objUser->email;
$str_user_name = $objUser->first_name.' '.$objUser->last_name;
$str_msg = $this->CI->input->post('nachricht');
$str_subject = $this->CI->input->post('betreff');
$this->CI->load->library('email');
$this->CI->email->from($str_user_mail, $str_user_name);
$this->CI->email->to($str_kunde_mail);
$this->CI->email->subject($str_subject);
$this->CI->email->message($str_msg);
$this->CI->email->send();
I don't really know wether this is a problem caused by the library..
Has someone an idea what I'm doing wrong or how to make this work?