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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:57:36+00:00 2026-06-14T07:57:36+00:00

I’m building out an email receipt that goes back to a user after they

  • 0

I’m building out an email receipt that goes back to a user after they register for an upcoming event on one of our sites, but gmail is consistently sending it to the spam folder. I’ve isolated the issue to the body content of this html email:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Zzzzzzz Online PATHe Registration</title>
  </head>
  <body>

    <p>Dear <?php echo $data['f_name']; ?>,</p>

    <p>
    Thank you for registering for our upcoming open house.  We will be in
    touch shortly to arrange a meeting time on <?php echo $data['date'];?>.
    </p>

    <p>
    The open house will be given at our Zzzzzzz Avenue Campus located at 
    175 Zzzzzzz Ave, Zzzzzzz AL.
    Look up directions on <a href="<?php echo $gmaps;?>" target="_blank">
    Google Maps</a> or <a href="<?php echo $mapq;?>" target="_blank">Mapquest</a>.
    </p>

    <p>We look forward to meeting you,</p>

    <p>
    <a href="http://online.zzzzzzz.edu">Zzzzzzz College Online</a><br/>
    <a href="mailto:info@zzzzzzz.edu">info@zzzzzzz.edu</a><br/>
    (877)772-2265
    </p>

  </body>
</html>

I’ve tried these things:

  • Html with doctype that fully validates
  • Replaced shortened urls for map sites with full length urls
  • Tried email without any urls at all

So all I can think of is the language being used, but this is a perfectly valid response. A user who fills out this form is asking the college to contact them to set up a meeting for dates that they select. What am I missing here??

EDIT: the following content passes the spam test just fine. Ironically we started with this but rewrote it because it’s too generic and does not give the user actionable information about the location of the open house:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Zzzzzz Online Open House Registration</title>
  </head>
  <body>

        <p>Dear Micah,</p>

        <p>Thank you for registering for our upcoming open house. We will be in touch
        shortly to arrange a time and to answer any questions you may have.</p>

        <p>For directions and more information, please visit out open house page at
        http://online.zzzzzzz.edu/open-house. In the meantime, if you have any
        questions or concerns that come up between now and the open house please feel
        free to contact us.</p>

        <p>We look forward to meeting you,</p>

        <p>Zzzzzz College Online</p>

  </body>
</html>
  • 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-14T07:57:38+00:00Added an answer on June 14, 2026 at 7:57 am

    I am not an expert in this field, but a quick Google search of the error you are receiving says that you should include both a text/html MIME type and a text/plain MIME type, as normal e-mails will contain both, while SPAM usually only contains the text/html version.

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I know there's a lot of other questions out there that deal with this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I have a small JavaScript validation script that validates inputs based on Regex. I
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into

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.