Hi guys,
Due to huge problems with CS Cart notifications being qualified as a spam at almost all receivers' inboxes, we needed to investigate possible causes of this. After checking thoroughly DNS settings and confirming they were all correct, we found out that mail providers treat our CS Cart messages as SPAM, because they are all only HTML. And, i.e. a company status change notification looks like this:
{{ snippet("header") }}
{{ __("hello") }},
{% if (status_from == "A" and status_to == "D") or (status_from == "D" and status_to == "A") or (status_from == "P" and status_to == "D") or (status_from == "D" and status_to == "P") %}
{{ __("text_company_status_changed", {"[company]": company.company_name, "[status]": status}) }}
{% elseif status_from == "A" and status_to == "P" %}
{{ __("text_company_status_active_to_pending", {"[company]": company.company_name}) }}
{% elseif status_from == "N" and status_to == "A" %}
{{ __("text_company_status_new_to_active", {"[company]": company.company_name}) }}
{% elseif status_from == "N" and status_to == "D" %}
{{ __("text_company_status_new_to_disable", {"[company]": company.company_name}) }}
{% elseif status_from == "N" and status_to == "P" %}
{{ __("text_company_status_new_to_pending", {"[company]": company.company_name}) }}
{% elseif status_from == "P" and status_to == "A" %}
{{ __("text_company_status_pending_to_active", {"[company]": company.company_name}) }}
{% endif %}
{% if reason %}
{{ __("reason") }}: {{ reason }}
{% endif %}
{% if e_account == 'updated' %}
{{ __("text_company_status_new_to_active_administrator_updated", {"[link]": vendor_url, "[link_text]": vendor_url|puny_decode, "[login]": e_username}) }}
{% elseif e_account == 'new' %}
{{ __("text_company_status_new_to_active_administrator_created", {"[link]": vendor_url, "[link_text]": vendor_url|puny_decode, "[login]": e_username, "[password]": e_password}) }}
{% endif %}
{{ snippet("footer") }}
which is absolutely unacceptable to for example Gmail account and automatically goes to SPAM.