Mailform with Gmail
-
- Posts: 5
- Joined: Wed Feb 22, 2017 8:22 pm
Mailform with Gmail
Have a Gmail Address as recipient for a Mailform, but message appears in plain text format instead of html, so all the html tags and code is displayed. Any fix for this?
Re: Mailform with Gmail
Please clarify which mailform you're using.kiwikonnection wrote:Have a Gmail Address as recipient for a Mailform, […]
Christoph M. Becker – Plugins for CMSimple_XH
-
- Posts: 5
- Joined: Wed Feb 22, 2017 8:22 pm
Re: Mailform with Gmail
the default mailform that comes with CMSimple_XH 1.6.7. Cheers
-
- Posts: 5
- Joined: Wed Feb 22, 2017 8:22 pm
Re: Mailform with Gmail
Oops, sorry. It is AdvancedForm_XH V1.0
Re: Mailform with Gmail
Have you configured mail→type=html? Does the problem also happen with other email clients?kiwikonnection wrote:Oops, sorry. It is AdvancedForm_XH V1.0
Christoph M. Becker – Plugins for CMSimple_XH
-
- Posts: 5
- Joined: Wed Feb 22, 2017 8:22 pm
Re: Mailform with Gmail
Mail type in Advancedform is set to html
Windows Live Mail seems to convert it to plain text and displays the message with an incoming mail is headed with
Content-Type: text/plain; charset = "UTF-8"
Content-Transfer-Encoding: 8bit
Gmail and Outlook both display the message as
Content-Type: text/html; charset = "UTF-8"
Content-Transfer-Encoding: 8bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
div.advfrm-mailform td.label {
vertical-align: top;
padding-right: 1em;
/* the following aligns the labels to the right */
/*text-align: right;*/
}
</style>
</head>
<body>
<div class="advfrm-mailform">
<table>
When I change text to plain in the Advancedform configuration, all programs (WLM, Gmail & Outlook) display it in plain text but without any content type reference ( i.e. Content-Type: text/html; charset = "UTF-8" or Content-Type: text/plain; charset = "UTF-8" )
The quick fix is to set it to plain text.
Cheers
Windows Live Mail seems to convert it to plain text and displays the message with an incoming mail is headed with
Content-Type: text/plain; charset = "UTF-8"
Content-Transfer-Encoding: 8bit
Gmail and Outlook both display the message as
Content-Type: text/html; charset = "UTF-8"
Content-Transfer-Encoding: 8bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
div.advfrm-mailform td.label {
vertical-align: top;
padding-right: 1em;
/* the following aligns the labels to the right */
/*text-align: right;*/
}
</style>
</head>
<body>
<div class="advfrm-mailform">
<table>
When I change text to plain in the Advancedform configuration, all programs (WLM, Gmail & Outlook) display it in plain text but without any content type reference ( i.e. Content-Type: text/html; charset = "UTF-8" or Content-Type: text/plain; charset = "UTF-8" )
The quick fix is to set it to plain text.
Cheers
Re: Mailform with Gmail
Ah, I see. Apparently, the email headers are not recognized as such. Please activate "Mail→Line ending *nix" in the plugin configuration, and see if that solves the issue.
Christoph M. Becker – Plugins for CMSimple_XH
-
- Posts: 5
- Joined: Wed Feb 22, 2017 8:22 pm
Re: Mailform with Gmail
Thanks a lot, that fixed the issue.
Cheers
Cheers
Re: Mailform with Gmail
Great!kiwikonnection wrote:Thanks a lot, that fixed the issue.
Christoph M. Becker – Plugins for CMSimple_XH