Post by ukdesigner » Fri Oct 04, 2013 8:18 pm

I am using this Mod: Order Status Email Templates route=extension/extension/info&extension_id=4888&filter_search=email

It enables me to create HTML templates for all system generated emails. I want to follow best practice and offer a plain text alternative, as there are many out there that have difficulty (such as Eudora) or opt out of html mail and without it there is no fallback.

I am trying to find a solution to the lack of provision for plain text alternatives and wondered if someone could develop a VQMod that would add it to this? I see in both the standard mail.php and phpmailer Modification these lines and wondered if they can be utilised?

This Mod uses the standard Mail system patched to use phpMailer via this Mod http://www.opencart.com/index.php?route ... =phpmailer to send the email.

It seems there provision is there to include it but no way to include both even though it seems to be covered as a Multipart (currently an email sent does contain a plain text alternative but it defaults to the else statement below).

$mail->AltBody = $this->text;
} else {
$mail->AltBody = 'This is a HTML email and your email software does not support HTML email or HTML is switched off!';
}

What I am after is a textarea in the template creation page of this Mod to allow me to add a plain text version that will get added into the email when it gets sent. The Mod offers three tabs to customise emails:

1. For Order Status Emails
2. For Customer Service Emails eg Customer Register, Contact Us etc
3. For one-off Emails sent via Mail menu

I am not planning to use the Mail tab of this Mod as I have another Mod for that, but I can foresee problems with that tab as it involves applying a saved template in the Mail window and there is no provision there for plain text.

I do however plan to use the first two tabs in this Mod, although perhaps I think it could work if the modification also applied to the general Mail function.

I recommend you look at the demo on the extension page.

New member

Posts

Joined
Mon Sep 02, 2013 1:50 am

Post by iweballey » Mon Oct 07, 2013 4:12 pm

HI
i can help you with the work.

please contact me on skype : webmeastro

thanks

OpenCart Development partner and Solutions provider
www.Iweballey.com
skype : webmeastro


Active Member

Posts

Joined
Wed Apr 11, 2012 5:22 pm
Location - India
Who is online

Users browsing this forum: paulfeakins and 6 guests