1. anand mahey
  2. Bugs
  3. Friday, 24 July 2015
  4.  Subscribe via email
My System info:
Joomla: 3.4.3
Fox Contact: 3.4.4
Cmandrill Version: 4.0.0

Hello. I have been using Cmandrill for awhile now, together with Fox Contact.
Upon updating both Fox Contact and Cmandrill, for some reason mails keep getting sent and received as plain text with HTML & CSS codes. Upon disabling CMandrill, it works fine.

Please advise.
Responses (3)
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
hm. Do you have some kind of a template set for fox contact in CMandrill?
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 1
Accepted Answer Pending Moderation
Hello, Thank you for replying

I don't have a template set in CMandrill for Fox Contact. However, Fox Contact itself has a template which it automatically applies to all emails. It can be viewed here:

Fox Contact Template

In fact i have verified that the update in Fox Contact now applies a template to emails.

There might be a conflict there? CMandrill looks for a template - No Template looks for Global Template - No Global Template sends as plain text. I think this is where the problem is.

Is there any way to stop CMandrill looking for a template within CMandrill completely? If this could be a feature, where the user can turn off CMandrill Templates, and CMandrill looking for Templates, and it only does the Transactional Emails it would be fantastic.

Thank you
  1. more than a month ago
  2. Bugs
  3. # 2
Daniel Dimitrov
Support team
Accepted Answer Pending Moderation
No, that is not really true. No matter if we find a template or not, we always do this check:

if ($this->ContentType == 'text/plain')
{
$message['text'] = $this->Body;
}
else
{
$message['html'] = $this->Body;
$message['auto_text'] = true;
}


If the mail is supposed to be sent as html, we'll send it as html. Otherwise as plain text. my guess is that when Fox Contact is calling sendMail, they are not setting t he $mode to true. If the mode is set to true, then the contentType is set to html, otherweise it is text/plain.

Regards,
Daniel
Please if you use our extensions be so kind and review them at JED
Matukio | Hotspots Pro | CComment Pro
  1. more than a month ago
  2. Bugs
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

Comment input field is not displayed
If I want to leave a comment on a post, I click on the button and a new page wit...
2 Replies
Posted on Friday, 20 December 2024
  • New
  • HotSpots Pro 6.0.12 crashes on FrontEnd with Conso
    Hi there, Not sure what happened but all of a sudden nothing shows up and giv...
    3 Replies
    Posted on Wednesday, 11 December 2024
    CComment - field - website address
    Hello In previous versions of CComment, it was possible to enable a field in ...
    0 Replies
    Posted on Saturday, 14 December 2024
  • New
  • Profile image for admin not showing
    Hi, profile image for administrator is not showing in comment. https://www.hu...
    0 Replies
    Posted on Friday, 13 December 2024
    How can I integrate the CComment input field into
    I’ve created com_content and a module for displaying the latest comments, which ...
    3 Replies
    Posted on Friday, 06 December 2024
    • #CComment
    • #comments
    • #module
    • #comments editor
    • #Ccomment Pro
    • #Joomla 5