Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newsletters: sending them out in HTML format


odlahorde

Recommended Posts

Hi folks.

 

Here is our base info:

Server Host: (192.168.1.7) Database Host: dragonshorde (192.168.1.7)

Server OS: Database: MySQL 5.0.18-nt-log

Server Date: 01/16/2010 23:24:06 Datebase Date: 01/16/2010 23:24:06

Server Up Time:

HTTP Server: Apache/2.0.54 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.8a PHP/5.1.2

PHP Version: 5.1.2 (Zend: 2.1.0)

[osCommerce Online Merchant v2.2 RC1]

osCommerce Online Merchant v2.2 RC1

PHP Logo

PHP Version 5.1.2

 

The problem is that when we try to send out a newsletter in HTML format, it goes through as the source code, rather than being sent as the formatted email.

 

We can send emails out to customers and they come through as HTML emails just fine, it's just the newsletter itself that is not recognizing the html format correctly.

 

As a matter of fact, we can configure the message IN the newsletter app, and copy the resultant newsletter to the email application.

Once there we can email it out.

Any clues on where we can find configuration info for the newsletters, so that we can actually send this bloody thing out as an HTML formatted newsletter the way it's supposed to be, rather than taking this extra step to send information to our customer base?

 

 

Thanks !!

--Rob

Link to comment
Share on other sites

Hi folks.

 

Here is our base info:

Server Host: (192.168.1.7) Database Host: dragonshorde (192.168.1.7)

Server OS: Database: MySQL 5.0.18-nt-log

Server Date: 01/16/2010 23:24:06 Datebase Date: 01/16/2010 23:24:06

Server Up Time:

HTTP Server: Apache/2.0.54 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.8a PHP/5.1.2

PHP Version: 5.1.2 (Zend: 2.1.0)

[osCommerce Online Merchant v2.2 RC1]

osCommerce Online Merchant v2.2 RC1

PHP Logo

PHP Version 5.1.2

 

The problem is that when we try to send out a newsletter in HTML format, it goes through as the source code, rather than being sent as the formatted email.

 

We can send emails out to customers and they come through as HTML emails just fine, it's just the newsletter itself that is not recognizing the html format correctly.

 

As a matter of fact, we can configure the message IN the newsletter app, and copy the resultant newsletter to the email application.

Once there we can email it out.

Any clues on where we can find configuration info for the newsletters, so that we can actually send this bloody thing out as an HTML formatted newsletter the way it's supposed to be, rather than taking this extra step to send information to our customer base?

 

 

Thanks !!

--Rob

If you have the FCK Editor installed on the newsletter manager, you have the option of adding, or pasting in stuff as either text or HTML. It one of the icons in the little control panel. If you paste in HTML with it set to text, it will get mailed as source code (HTML).

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

If you have the FCK Editor installed on the newsletter manager, you have the option of adding, or pasting in stuff as either text or HTML. It one of the icons in the little control panel. If you paste in HTML with it set to text, it will get mailed as source code (HTML).

 

 

If you have HTML, and you enter the HTML into the editor, you still have to have it update the view.

the view itself will show the correct output of the HTML, and only on sending the newsletter does it change the format to the source code.

So .... perhaps there is something else that needs to be done here?

Link to comment
Share on other sites

Updating the view, I believe, doesn't do anything more than 'save' what you have entered. Before you paste anything in, or enter anything, find the little icon in the FCK Editor that toggles between 'HTML' and 'Text'. Code pasted in while it is toggled to 'Text' will come out text.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

We have tried clicking on the "edit HTML source" button, and entering data there.

 

Maybe I am missing something,

Is the FCK editor the out of the box editor for newsletters?

 

There is no "insert HTML" or "insert text" button on the primary editor that we are using.

 

I'll get a snap shot of the editor menu, and we can figure out what we need to do.

--Rob

Link to comment
Share on other sites

We have tried clicking on the "edit HTML source" button, and entering data there.

 

Maybe I am missing something,

Is the FCK editor the out of the box editor for newsletters?

 

There is no "insert HTML" or "insert text" button on the primary editor that we are using.

 

I'll get a snap shot of the editor menu, and we can figure out what we need to do.

--Rob

No need to send a snapshot. If you have not installed the optional FCK Editor (it is a contribution) then you don't have the controls in the newsletter manager. My error.

Instead you can switch between text and html in the newsletter manager like so: Go to admin/configuration/ email options and set 'Use MIME HTML When Sending Emails' to true. That should render HTML code pasted into the newsletter manager as HTML.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

No need to send a snapshot. If you have not installed the optional FCK Editor (it is a contribution) then you don't have the controls in the newsletter manager. My error.

Instead you can switch between text and html in the newsletter manager like so: Go to admin/configuration/ email options and set 'Use MIME HTML When Sending Emails' to true. That should render HTML code pasted into the newsletter manager as HTML.

I spoke with my wife.

 

She told me that she has the tiny mce option installed on the site.

As for "turn on HTML" if that wasn't turned on, wouldn't emails also be sent as text, not just newsletters?

emails can be sent as HTMl just fine as it is.

 

--Rob

Link to comment
Share on other sites

Tiny mice will have the toggle for html and text as you have discovered, like the FCK Editor

 

To answer your other question, I think that yes, if 'Use MIME HTML When Sending Emails' is set to false then emails, as well as newsletters are sent as text.

I know for certain newsletters are sent using the 'tep_mail' function in admin/newsletters.php . You can see the tep_mail function in includes/functions/general.php.

That function reads the false or true option in 'Use MIME HTML When Sending Emails' set in the admin/configuration/email options.

 

As far as emails, they are sent from various pages in the website and but I'm pretty certain they are also sent via the tep_mail function, and thus whatever happens to the newsletters also happens to the emails.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...