Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8802817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:10:52+00:00 2026-06-14T01:10:52+00:00

Now the data looks like this in the database: Hej [indtaster_navn]<br><br>I forbindelse med noget

  • 0

Now the data looks like this in the database:

Hej [indtaster_navn]<br><br>I forbindelse med noget på ændring af xxxxxx er der behov for opfølgning på:<br><br>- xxxx<br>- xxxx<br>- xxxx<br><br>Jeg vil gerne have en tilbagemelding, når du har set på ovenstående.<br/><br/>Venlig hilsen<br/>[behandler_navn]<br/>TestGuy<br/><br/>[lokal_tlf] – lokal<br>00 00 00 00 – telefon<br>[behandler_email]<br><br>This S<br>Something<br>Transformer 1234<br>3434 BubbleJ<br><br>​​​​

So i have following code when sending a mail, where it’s important to notice that i use html_entity_decode:

    $config['mailtype'] = 'html';
    $config['priority'] = 1;
    $config['charset'] = 'utf-8';
    $this->email->initialize($config);
    $this->email->from($this->auth_data->user_email, $this->auth_data->user_firstname . ' ' . $this->auth_data->user_lastname);
    $this->email->reply_to($this->auth_data->user_email, $this->auth_data->user_firstname . ' ' . $this->auth_data->user_lastname);
    $this->email->to('test@test.com'); 
    $this->email->subject($feedback_title_temp);
    $this->email->message(html_entity_decode($feedback_temp));  
    $this->email->send();

When i receive the email it inserts the symbol = random places and in some cases the <br> does not even occur.

For example:

- xxxx<=r>- xxxx

Should be:

- xxxx
- xxxx

When i view the email on my smartphone, the encoding problem only seems to occur with the æåø chars while Outlook is a completely different story.

Received email header::

**Microsoft Mail Internet Headers Version 2.0
Subject: =?utf-8?Q?(ID:_418)?=
To: some@one.com
X-PHP-Originating-Script: 0:Email.php
User-Agent: CodeIgniter
Date: Wed, 7 Nov 2012 00:31:54 +0100
From: <mat@damn.com>
Return-Path: <mat@damn.com>
Reply-To: "Johnny Bravo" <mat@damn.com>
X-Sender: damn@test.com
X-Mailer: CodeIgniter
X-Priority: 1 (Highest)
Message-ID: <50999deab797d@test.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="B_ALT_50999deab798e"
X-OriginalArrivalTime: 06 Nov 2012 23:31:54.0823 (UTC) FILETIME=[E8022570:01CDBC76]

--B_ALT_50999deab798e
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

--B_ALT_50999deab798e
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable


--B_ALT_50999deab798e--
**

Received mail, based on different content, but the errors are very obvious:

Det her er en m=sse tekst, det er bare en test fra en hæææst.


- Hehe
- Heh<=br>
- Wee


A=l these things

- Lots of text
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T01:10:53+00:00Added an answer on June 14, 2026 at 1:10 am
    $this->email->set_crlf( "\r\n" );
    

    Fixed the problem!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database which contains an Assignment table. The table looks like this:
In my application I have a sqlite database that looks like this: CREATE TABLE
I have a list of recipes obtained from a database that looks like this:
I have a database being used to cache entities. The tables looks like this:
I have a database which looks like this: Token (PRIMARY) School Skip -------------------------------------- f2342f
I have a String which looks like this NSString *string = @2012-04-30T23:59:00+10:00; Right now,
I have written a very simple file managing database that basicly looks like this:
I have a method in a controller that looks like this: [HttpPost] public void
I have data in an external database which can be accessed via JSON. Now
I have a self-referencing many-to-many relationship between users and managers that looks like this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.