close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Plain text and html text versions in universal email

Thread began 11/03/2014 10:21 am by Nathan69474 | Last modified 4/09/2015 9:42 am by Nathan69474 | 4993 views | 10 replies

Nathan69474

Plain text and html text versions in universal email

Hi

I'm using universal email to send out a newsletter.

I'm sending using pearl mail using a 3rd party authenticated account, everything works perfectly except ...

I recently ran it through a spam score service and one of the results said ...

MIME_HTML_ONLY Message only has text/html MIME parts
You should also include a text version of your message (text/plain)

I have read through the forum and it says the plain text version is automatically added.

I've created a php page template, where the content is populated from a mysql database.
I populate the email using 2 separate db tables, table 1 for the article content and table 2 for the subscriber list.

I copy the source code below, and then in the WA wizard click the pencil icon and paste it into the wizard
(For simplicity, I've abbreviated the full html coding, but basically it's a html table structured, with db content)
... this then generated file stored in ../webassist/email/WAUE_filename.php

I think I need to include a different / additional meta content to output as both plain & html formats

Can you please advise what plain text elements need to be added to my output template. I'm happy to manually add them to my template, it's a case of know the correct format and where to place them.

Thanks
Nathan

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Site Name</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="20" bgcolor="#F2F0F0">
<tr>
<td><table width="640" border="0" align="center" cellpadding="0" cellspacing="5" bgcolor="#FFFFFF">
<tr>
<td valign="top"><img src="http://www.domain.com/images/logo.jpg" alt="Co. name" width="650" height="110"/></td>
</tr>
<tr>
<td valign="top">
<p>line 1 database content title</p>
<p>line 2 Dear database userlist name</p>
<p>line 3 database content db field1</p>
<p>line 4 database content db image field</p>
<p>line 5 database content db field2</p>
<p>line 6 closing disclaimer/unsubscribe link</p>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...