Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent "if there are problems with how this message is displayed" on Outlook 2013

I send HTML report emails to customers, which display nicely on most email clients. When displayed in Outlook 2013, the following message is sometimes displayed:

if there are problems with how this message is displayed, click here to view it in a web browser.

I would like to get rid of this message. This post suggests removing all thead and tbody tags from the message (there aren't any in my HTML code) and replace inline CSS with embedded CSS, which I can't do because other mail clients have problems with non-inline CSS.

Are there any known ways to prevent this message from showing?

like image 715
Tzach Avatar asked Oct 28 '13 10:10

Tzach


People also ask

Why is my Outlook not displaying email content?

To check this, open your Outlook and navigate to File > Options > Advanced > Display. Make sure that Disable hardware graphics acceleration box is checked. Note: if you did not notice any antivirus add-ins in your Outlook on Windows, try to see if there are any anti-malware programs on your mobile devices.

How do you fix Outlook the operation Cannot be performed because the message has been changed?

If you meet the Outlook error the operation cannot be performed because the message has been changed while sending an email, you can try this way. It's very simple and you just need to save the email as a draft. After waiting for several minutes, you might be able to send it successfully without the error.


1 Answers

I found that by adding the following to the head section of the page, that the message is not displayed.

<meta name="ProgId" content="Word.Document">

I learned this by saving a nearly blank word document as HTML and selectively removing bloat over and over until I narrowed it down to this. In my case, the email was being sent using TSQL in SQL Server 2008 R2 via the msdb.dbo.sp_send_dbmail function.

like image 186
Dan Avatar answered Nov 09 '22 07:11

Dan