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 6943169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:07:16+00:00 2026-05-27T13:07:16+00:00

I am using CodeIgniter for a school project. A part of the project requires

  • 0

I am using CodeIgniter for a school project.
A part of the project requires an email to be sent towards someone.
I got that part working (after a few hours xD).

But the last thing I need to do is style the email.

I got the following code:

$this->email->message('
    Beste '.$_POST['name'].' '.$_POST['lastname'].',

    Ten eerste heten wij u welkom bij BodyBook. Uw online medische dossier waarin u bepaalt wat er in staat. Privacy staat bij ons heel hoog en wij respecteren daarom ook de privacy van anderen.

    U Heeft zo juist een accoutn aangemaakt bij BodyBook.
    Hieronder staat uw voorlopig wachtwoord om mee in te loggen.
    Gelieve dit wachtwoord gelijk te veranderen op het moment dat uw voor het eerst inlogt.

    uw wachtwoord = 1234

    Wij wensen u veel plezier met BodyBook.

    Met Vriendelijk Groet,
    Het BodyBook team.
');

Yeah, the text is written in Dutch. :p
Anyway, what I know want is that the following line:

uw wachtwoord = 1234

is bold and the font size is bigger the default.
I searched the internet, but I don’t understand how this works.

I already tried:

*uw wachtwoord = 1234*

But that didn’t make it bold.
I hope someone can help me.

Thanks in Advance,

Mark

  • 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-05-27T13:07:17+00:00Added an answer on May 27, 2026 at 1:07 pm

    You need to configure CodeIgniter to send HTML email: $config['mailtype'] = 'html';

    Then you can mark bolded text by using <strong> tag, like this:

    <strong>uw wachtwoord = 1234</strong>
    

    One consequence of sending HTML email is it will mess up your formatting – in HTML multiple white spaces are ignored. You can create paragraphs by wrapping text in <p> </p> tags:

    <p><strong>uw wachtwoord = 1234</strong></p>
    <p>Wij wensen u veel plezier met BodyBook.</p>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using CodeIgniter and I got a model that fetches let's say all recipes
I'm using CodeIgniter for an application that I'm writing and I've got a question
I'm using codeigniter and the project i'm working on has to be in two
I created a website using CodeIgniter Framework 2.1.0 that was originally working well. Yesterday,
I am using codeigniter 2 in my project and I have a problem that
I'm using CodeIgniter with CodeIgniter sessions that are stored in a MySQL database. I
This is my first time building a website and using CodeIgniter for a school
I'm using Codeigniter and Tank Auth for a e-commerce website. I'm finding that if
Using Codeigniter, I have a controller function name search that takes in parameters state
I am using CodeIgniter's form validation . Here is an example: $this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');

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.