Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Support forum for [HTML Mail]


rpdesign

Recommended Posts

I wanted an easy to use and configure HTML Email manager, but the ones available were too complicated to set up for the average Joe. So, with that in mind my addon currently sets a HTML tag and style attributes in the body tag of your email so that you can place an image behind your text and change the color of your text. You just need to know some basic css. If you need help with css or php please check out www.w3schools.com for an excellent reference on basic programing for html,css,php, mysql,etc....

 

This will be a future support column for the above addon

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

If you guys didn't notice the link to the addon is in my signature or you can just go here:

http://addons.oscommerce.com/info/8669

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

Hi Robert,

 

nice approach to enrich the default osc emails.

 

Just want to make aware of that different email clients understand different html / css code, so for consistent layouts please check out this nice overview:

 

 

For best layouts across different email clients MailBeez 2.7 utilized the nice

 

which is a template for html/CSS emails together with some stuff to convert CSS Stylesheets into inline styles

 

The MailBeez Support Thread:

http://www.oscommerce.com/forums/topic/359282-automatic-trigger-email-campaigns-with-mailbeez-modules/page__st__440

 

www.mailbeez.com - free download of the latest MailBeez System

 

cheers

cord

Link to comment
Share on other sites

@@MailBeez thank you for the mention of the two websites. I'm currently trying to redesign the coding to include more control over the emails by separating the email portion from the default emails and dynamically converting a php to html for insertion in the email body. This coding is also a little bit simpler for the end user as well.

 

I am almost finished with v1.5 of my addon which has a lot more features with support for tables, div, etc... Not only that but my new version doesn't need to be formatted in the proper sense. For example all a person has to do to put in a color just has to specify rrggbb or the color name, not color:#ffffff; Like I said I'm almost there and should have it ready in about two weeks.

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

Update! Have created bug fix 1.1 this adds some error checking to the forms and sends an email to the shop owner if they have set more than one style per email. This fix also sends a default styled message to the customer. Go to the link below for this update. This is included in a text file only! I will be uploading a new full package with an improved install.html file to include the bug fix and files shortly.

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

  • 2 weeks later...

Update ! HTML Mail v1.2 released This release fixes the problem of having more than one style applied to an email in that it combines my previous bug fix and now you have a new warning column in the admin panel that will warn you if you have more than one style set.

 

Coming very soon HTML Mail v2.0!

 

This new version I'm working on fixes some of my wish list items such as:

A preview button!

Support for tables!

Applying a style to all emails or individual emails!

A new look for the admin panel!

Better instructions with pics!

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

  • 2 weeks later...

Hi guys, thought I'd give you a taste of the new admin for HTML Mail v2.0! Just look at the enclosed attachments.

 

New Warning Column!

 

 

New 1

 

 

New2 [support for tables!]

 

 

Edit Emails

 

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

  • 3 weeks later...

Update!

v2.0 is two to three days away!

Yesss... it is finally here!

no more having to know css!

no more direct paths to images!

warning will robinson danger, danger ! [warning messages appear in admin]!

new install file with better instructions!

few lines of code to edit!

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

HTML Mail v2.0 [preliminary copy!] is uploaded!

:lol:

enjoy everybody, you can get a copy at the following address

http://addons.oscommerce.com/info/8669

 

please pm me with install problems etc...

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

  • 2 months later...

Hi Robert and thank you very much for you r contributions.

I've tried to install it on my Oscommerce 2.3.3 shop but it seems it doesn't work for me...

'cause I'm dummy and maybe a little dumb, but I haven't understood how it should work: if I set "all Email" that means all the mail sent should be sent in Html format, right?

even mail sent through the normal admin/send mail page?

thank you for your help

bye

riccardo

Edited by rikic
Link to comment
Share on other sites

  • 2 weeks later...

@@rikic

 

This module only sends out html mail for the welcome email [when a new customer signs up], tell a friend email [when tell a friend is activated], contact us email [to contact the store owner "you " ], and the order email [when a customer completes an order].

 

When setting it to all It will apply the settings to those emails only!

 

It does not at this time work from within the send mail functiion in admin, however this might be a future update! Also, I only created this addon with OsCommerce v2.2 rc2 in mind and not v2.3.x of OsCommerce

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

Hi @,

 

I've googled how to "uncomment out" the line in the html_mail and contact_us files, but can't figure it out lol. I'm just starting to learn PHP so I hardly know any of these terms =).

 

In catalog/admin/includes/languages/html_mail.php uncomment out the line where it asks you [this is self explanatory]

 

What exactly do I change in these codes:

 

 

//HTML MAIL v2.0 [uncomment below if want html email from customer.]
/*
require(DIR_WS_INCLUDES . '/' . FILENAME_HTML_CONFIG);
$page = $_SERVER['PHP_SELF'];
require(DIR_WS_INCLUDES . '/' . FILENAME_HTML_DATA);

*/
//HTML MAIL end

 

 

and

 

 

//HTML Email data [uncomment below if want html email from customer.]
// $enquiry = $html . $enquiry . $html_end;

 

Is it the /* and */ that uncomments it out? So I add those tags before and after the two parts of coding?

 

Thanks in advance!

Edited by ben_dph
Link to comment
Share on other sites

What exactly do I change in these codes:

 

 

//HTML MAIL v2.0 [uncomment below if want html email from customer.]

/*

require(DIR_WS_INCLUDES . '/' . FILENAME_HTML_CONFIG);

$page = $_SERVER['PHP_SELF'];

require(DIR_WS_INCLUDES . '/' . FILENAME_HTML_DATA);

 

*/

//HTML MAIL end

The first one is the /* and */ so you are correct my friend :P :thumbsup: By the way uncommenting out means deleting the /* and */ (w00t)

and

 

 

//HTML Email data [uncomment below if want html email from customer.]

// $enquiry = $html . $enquiry . $html_end;

The second one is the double back slash // in front of the line that starts with $enquiry Same thing here uncomment means deleting the double backslash // from the line that has $enquiry in it (w00t)

 

commented line in php work like so if you have a single line of text you want to comment out use double backslashs [//] if you have more than one line use /* before the text and */ after the text you want commented out. :-

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

please use pastebin.com to paste the code for your create_account.php file and are you sure you don't mean contact_us.php and do you mean that when you send the email from the create_account.php page shows up blank? or what exactly is happening Post a screenshot of what is happening if possible. Not only that but you have to configure the emails in the link in admin :-

Edited by rpetet

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

Have you configured a welcome email in the main admin? The easiest way to play with the addon is to create a contact us email type and play with the settings untill you get the email correct in your inbox :thumbsup: Then apply the same settings to whatever email you want to apply it to!

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

I meant the actual page on the website. When I click 'register' it's supposed to go to the page on which to fill out all the details, that page shows up all white. It must be something in the coding of that page I think. I'll check tomorrow if I can give more details cuz I understand if this is not enough to suggest anything :P

Link to comment
Share on other sites

you are missing a closing braket } in your php

Always backup your files! You will be glad you did

My add-ons :

SSPP Seperate Shipping Per Product v2.5| Support
Gift vouchers for SPPC 4.22 v2.1 | Support |
Catalog Infobox v1.0 | Sorry no support for Catalog Infobox |
HTML Mail v2.0 | Support |




Upcoming Add ons:

Addon Manager |
Separate Pricing Per Product Qty |
Coupon Populate |
EZ-PDF Catalog

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...