It just doesnt work

It just doesnt work

Hi

I have added HTML editor to my PHP page - and all appears properly. The form sends the text as entered - but no matter what colour or font family you change in the editor - the e mail comes through with Times New Roman black.

ALl I have done is enter some text - then for example highlight it and change it to red. When the mail comes through the text is not red !

So you could say its coming through as plain text format? Have you tried testing with different font sizes and bold/italic etc? Also have you checked the stored content in your database - does it show formatting in the database? Lastly can you test by displaying directly the content in the browser rather then an email?

HTML Editor

Hi Chris

I have tried changing font types , sizes and colours. Nothing makes a difference to the text. As for a database - I am using this application as follows

The site has a small database of around 20 people and my client just wants to send e mails to them on a regular basis. So I built a simple form with a Subject Line in it - and then added HTML editor to the form . He can therefore write messages in HTML Editor and send to the contact list using Universal E Mail on the form.

In Universal E Mail when I have made the form which is sent I just pulled out the Editor field from the form.

When the mails come through they are not formatted. Am I using this application the wrong way to do what I am doing ?

Source code

See below - I have copied in some of your e mail and made some text red and some italic

<p> Test text below</p><p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"> <span style="color: rgb(255, 0, 0);"><font face="Tahoma">Here is the message that has just been posted:</font></span></p><p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"> <font color="#000000" face="Tahoma">***************</font></p><p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"> <em><font color="#000000" face="Tahoma">using styles in emails is not the same as using styles in a web page.</font></em></p><p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"> <o:p><font color="#000000" face="Tahoma">&nbsp;</font></o:p></p><p class="MsoPlainText" style="margin: 0cm 0cm 0pt;"> <font color="#000000" face="Tahoma">before you send the message, switch HTML Editor to source mode, send the source code for the message and I will be able to tell you what is wrong.</font></p>

Should it work OK when embedded in UEM4 ? attached is a grab of the message which comes through. As you can see the subject line and initial text are from the page CSS for std font . The only section not formatted is the HTML Editor font

the message text you posted has a lot of MS Word proprietary code in it, it also uses the font tag which is not supported by many email clients.

this would be more correct coding for the message:

<p>Test text below</p><p><span style="color: #ff0000;font-family: Tahoma, serifSansSerifMonospace;">Here is the message that has just been posted:</span></p><p><span style="color: #000000;font-family: Tahoma, serifSansSerifMonospace;">***************</span></p><p><span style="color: #000000;font-family: Tahoma, serifSansSerifMonospace;"><em>using styles in emails is not the same as using styles in a web page.</em></span></p><p><span style="color: #000000;font-family: Tahoma, serifSansSerifMonospace;">&nbsp;</span></p><p><span style="color: #000000;font-family: Tahoma, serifSansSerifMonospace;">before you send the message, switch HTML Editor to source mode, send the source code for the message and I will be able to tell you what is wrong.</span></p>

The class of "Text" is set to be Arial 12px and is embedded as a class In the Form as follows.

.Text { font-family: Arial, Helvetica, sans-serif; font-size: 12px;}

The strange thing is the SUBJECT line is coming out properly formatted as you can see in the example I added as an attachment earlier - but the main body field of the form ( editorfield ) which is also formatted as "Text" class doesnt render this wayHow come it is not coming through formatted correctly ?