How to code propper HTML mails for MS Outlook - html

I am developing an php app which sends finally styled html mails with PHPMailer, inlcuding logos etc.. A number of mail apps receive and displays this mails perfect, but not Outlook on PC. It simply ignores all : HTML code and simple text. Weired.
Does anyone can give some hints what to do , where to look to satisfy MS Outlook ?
This question is NOT about common HTML programming issues but about WHAT does OUTLOOK need to get satisfied to show html mails. I red that OUTLOOK uses Word to render mails. So which kind of HTML does Word expect ?

Related

How to stop css embedded in an email affecting the whole page

My web application records emails sent from third party applications such as Outlook in a timeline using the maillin node.js framework. It all works as intended with one major problem. When a user clicks on an email to view it, the css embedded in the email affects the whole page. I know I could get around this by opening the email in an iframe, or just loading the text. But I was just wondering if there was any other way to isolate the css and stop it infecting the page.
Edit.
I should have mentioned the the main application is C# .Net MVC
I solved this by converting the email to an image, I have a licence for a commercial application that converts html to an image (I won't advertise it), and at the end of the day users just need to see the email. Thanks for your responses anyway.

Outlook 2010 HTML Display: Newsletter displays fine on one's computer, but not another

Most of us in our office environment uses Outlook 2010 for our email needs. We'll eventually upgrade to higher versions of Office, but that may be sometime later.
I have worked with a vendor to create an internal email template, to be used by a colleague who is meant to just input text within the template and send it out. The odd part is the template works well on my computer, but not on the colleague's. The vendor has already optimized the template to be good for Outlook 2010.
On my colleague's computer, it seems like the template has added additional padding between the images or table cells. The email she'll eventually send out will have this additional padding as well.
Is there any settings I need to do on her Outlook 2010 settings?
NOTE: It's in HTML, and not saved as an Outlook Template yet.
Display A = How it looks like on your com
Display B = How it looks like on colleague
You copied the HTML code and it turns out to be Display A. However, when you sent, Outlook converts the HTML into their syntax, which in this case you will see a mso in front of some CSS classes.
The resulted display on your colleague is Display B, the modified version by Outlook. When she forward or send out this email, she will be sending out with mso tag as well and not in the HTML format you sent.

Gmail breaks the formatting of my HTML email?

I am attempting to create an HTML newsletter to send out. I have created the newsletter in Microsoft Publisher and exported it to HTML. I then open the HTML file and select all and paste it into a Gmail draft. In the preview, the newsletter looks great but when I send it to myself and receive it, Gmail completely breaks the formatting and pushes all the text below the image. When I tested this with my AOL email, the formatting was fine and the text was on top of the image where its supposed to be. I even tried using Mailchimp to code the newsletter and it also appeared to be fine but when I sent it to all my emails, Gmail was the only one that broke the format. The email looks perfect on AOL and even on my iPhone Mail App which is connected to my Gmail. What am I doing wrong?
It looks to me like the columns are being lined up wrong, but from the code you have sent this is probably the least of your worries. Creating a html email in Microsoft Publisher is a bad idea. You might be better using something like mailchimp's free builder and copying the html out of that (or even just sending from there)

Inline/Base64 Images in GMail

It's quite common for users to paste screenshots from their computer's clipboard into the body of an email but there seems to be problems associated with this.
The main one is that GMail doesn't seem to render the mails (Lotus Notes does) but in some cases shows no image or the actual HTML:
I've posted the decoded HTML of the mail here: http://cl1p.net/base63emailex and it renders in IE11 and Chrome just fine.
The relevant RAW mail body is available here: https://cl1p.net/base63emailexraw
1) Why does GMail not render the images.
2) Is there a better way of offering users the simple Ctrl+V method of embedding images.
I mean this is 2015 and users of mail clients creating attachments for each image is surely something from the dark ages of computing...

Mailto action with explorer 9 - blank email

I have an html form that I'm sending to external customers so they can fill up and send it back to me.
The problem occurs when they click the submit button on the form.
For some reason in windows 7 64 bit, with outlook 2010 and explorer 9, mailto action doesn't work for me.
An empty outlook message is displayed and only the subject and recipients are added.
There is no attachment and no body text.
When I change the default browser to FF I receive the text I wanted in the body section instead as an attachment (postdata.att).
I can't use server code cause the html form is sent by outlook to external customers, so asp/php/cgi is irrelevant for me.
The external customers have no access to the organization's intranet and since the html form is sent as an email attachment, it's also not hosted on an internet server.
Does anyone has a solution?
Thanks,
mailto action doesn't work for me.
mailto depends on specific combinations of correctly configured browsers and email clients. It is not suitable for pubic use in an action attribute as support is too poor.
Use a server side process instead. Note that form support in HTML email is also poor, so you should link to a form hosted on the web.
I can't use server code cause the html form is sent by outlook to external customers, so asp/php/cgi is irrelevant for me.
You need to set up a public facing webserver.