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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T13:07:32+00:00 2026-06-18T13:07:32+00:00

I have a simple PHPMailer script that grabs some HTML from a database row

  • 0

I have a simple PHPMailer script that grabs some HTML from a database row and then sends an email using this html as the body (a basic newsletter script)

Everything seems ok except with Gmail which seems to break up this string in random places, occasionally this breaks a valid HTML tag causing the page formatting to look slightly screwed up in gmail (but ok in Outlook)

For instance.. the line below is part of a CSS inline-style which has broken the word solid and placed this onto the next line when I view the source code.

border-width: 0px; border-style: s
olid;"

Can anyone suggest any reason for this with Gmail?

  • 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-18T13:07:33+00:00Added an answer on June 18, 2026 at 1:07 pm

    i think that because Gmail don’t support external or inline style sheet
    from my experience you need to use only the style attribute
    don’t use inline or external styles, and put all your styles in the style attribute

    e.g : <div style=’border-width: 0px; border-style: solid;”‘>

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

Sidebar

Related Questions

I have a simple PHP mailer script that takes values from a form submitted
I have simple code that does a head request for a URL and then
I have simple php validation form that is halfway working. If you leave the
I have simple script with EventMachine, Fibers and faye require faye require em-synchrony require
I have simple database - one table with 6 collumns. 3 of them i
I have simple win service, that executes few tasks periodically. How should I pass
Possible Duplicate: Simple PHP Mailer Script i run a small website and we have
I have simple perl script as below: #!/usr/bin/perl use strict; use Data::Dumper; my %x;
I have simple WPF application where I using threads. E.g. In new thread I
I have simple mailer which sends user weekly digest and rake task which sends

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.