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

  • SEARCH
  • Home
  • 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 6370841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:58:56+00:00 2026-05-25T00:58:56+00:00

I am creating a html message with cakephp. Within this message there is a

  • 0

I am creating a html message with cakephp. Within this message there is a html table, with a really long amount of text in it.

When I echo to see what it looks like, the message looks perfect, but when I mail the message, the text within the html table truncates. I tried with and without smtp authentication with no change.
I store the message in a variable ($body) and then I send it like I normally would:

$this->Email->send($body)

Is there something that I need to do differently to prevent this?

Might this be a bug in cakephp? (I tested on 1.3.8 and 1.3.10)

Any help would be greatly appreciated.

  • 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-25T00:58:56+00:00Added an answer on May 25, 2026 at 12:58 am

    I replaced the \n characters with <br> within a variable that I placed in the table which caused the line to be too long for email and was truncated there. I only needed to add <br> and not replace \n.

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

Sidebar

Related Questions

Is there a well maintained package available in Python for creating and validating HTML
I'm creating a mail object like so: textpart_to_inject= params[:text] htmlpart_to_inject= params[:html] message_all = Mail.new
I'm creating quick web app that needs to send a php-created message from within
I'm creating HTML with a loop that has a column for Action. That column
I am creating an HTML form with some radio button options. I'd like to
I have a website that right now, runs by creating static html pages from
When creating links for an an html based email, how critical is it to
In an HTML form post what are valid characters for creating a multipart boundary?
I am creating a form in HTML that will be printed, with fields that
I am creating a chunk of HTML/JavaScript with the below code: $result = mysql_query(SELECT

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.