Skip to main content

Fixing winmail.dat problem - specifically in Quickbooks

For months we have had problems with attachments from Quickbooks. Having looked down many avenues I think we have found a fix or few: (See below for update)

Here are a few websites that help out:

Microsoft Outlook/Exchange MS-TNEF handling (aka "Winmail.dat", "Win.dat", or "Part 1.2" problem of unopenable email attachments)


KB958012 : When you use Outlook 2007 to send an e-mail message, the recipient of the message sees an attachment that is called Winmail.dat

Essentially the summary is that there is a problem with Outlook trying to force Rich Text Format. so you need to turn that off. Mail users not receiving email in an Outlook derivative will have a problem. This format is called

So:
  1. Go into Outlook
  2. On the "Tools" menu, click "Options", then click the "Mail Format" tab, and then the "Internet Format" button.
  3. Set "When sending Outlook Rich Text messages to Internet ..." to either "Convert to HTML format" or "Convert to Plain Text format".
If you prefer, in all versions of Outlook, you can disable TNEF completely:
  1. On the "Tools" menu, click "Options", and then click the "Mail Format" tab.
  2. In the "Send in this message format" list, click "Plain Text" or "HTML", and then click "OK".

Mac users?

Apparently this is a well documented problem and there is an decoder for it here: TNEF’s Enough. You can read about it here: Open winmail.dat files on a Mac

Read all about it from MacForm: https://discussions.apple.com/thread/3035481?start=0&tstart=0

Additional Update: July 2011

So still not everyone getting the attachments, and it appears that it is exclusively the Mac users. But there is one other tweak that I had to do:

Tweak on the run:
After QuickBooks launches the new email in Outlook:
  • right click on the email address that is affected, click "Send Options"
  • the select "I want to specify the format..."
  • select "Plain Text"
And that you 

A little more perminent:
save the email address in your Outlook Address book, and repeat the steps

Otherwise
For the rest of the recipients

  • create a gmail account, 
  • forward the email you sent to the recipient from sent items to that gmail account
  • Log into the gmail account, and 
  • using the email address in the email you forwarded
  • forward the email to the recipient.
I am going to fiddle to see if there is some gmail rule you can tweak.

I have another update.

A fix that works

If you are still not sorted then, Here is a fix for sending the invoices / statements. The problem appears to be the SMTP server you are routing through. So my solution was to create a gmail address MyCoAccounts@gmail.com, I then routed the emails in the GMAIL.COM setting to be forwarded back to my accounts@myco.com address. Then I added an account to Outlook (or a new profile, depending on the version) and it uses the Google SMTP to send email. I changed the reply address to accounts@myco.com, and it works fine. In Outlook 2010 you are able to switch between the SMTP accounts, so I set the alternative address up. and then when clients complain I go into sent Items and send again but change the from address and it works fine.

Comments

Popular posts from this blog

SMTP servers of South Africa

SMTP Settings
Below is a list of SMTP sites in South Africa, using this and the ISP Map you can try and find which one works best for you.


Telkom smtp.saix.net (ADSL)
smtp.telkomsa.co.za (56k dial up)
smtp.telkomsa.net
Internet Solutions smtp.isdsl.net (ADSL)
smtp.dial-up.net (56k dial up on IS)
smtp.layerone.net (3g backbone) Vodacom smtp.vodacom.co.za
smtp.vodamail.co.za
MTN smtp.mtn.co.za
Cell C smtp.cellc.co.za (GPRS)
mail.cmobile.co.za (also used by Virgin)
ABSA mail.absa.co.za
iBurst smtp.wbs.co.za
smtp.iburst.co.za
@lantic smtp.lantic.net (ADSL,Dialup, ISDN)
Sentech smtp.sentech.co.za
MWEB smtp.mweb.net (ADSL) - this is to be retired End June 2012, use below instead
smtp.mweb.co.za (56k dial-up & ADSL & business)
iAfrica smtp.uunet.co.za
smtp.iafrica.com
Neotel smtp.neotel.co.za
TiscaliNOW MWeb
smtp.tiscali.co.za
NetactiveNOW MWeb
smtp.netactive.co.za
Global smtp.global.co.za

Hertzner Use your domain name in your SMTP eg. mail.craythorne.co.za (smtp …

POST as form using C# to Pay Provider

The Remote Post Form class
I have used the code for the jigar site and added my own goodies, so all credit to him. Sorry about the flast formating but is the only way I could get a neatish post


using System;
using System.Collections.Generic;
using System.Web;

using System.Security.Cryptography;
/// <summary>
/// Remotely handle and Post form from http://www.jigar.net/articles/viewhtmlcontent78.aspx%20
/// </summary>
public class RemotePost
{
private System.Collections.Specialized.NameValueCollection Inputs
= new System.Collections.Specialized.NameValueCollection();
public string Url;
public string Method;
public string FormName;

public RemotePost(string pURL)
{
//
// TODO: Add constructor logic here
//
Url = pURL;
Method = "post";
FormName = "frmRemotePost";
}

public void Add(string name, string value)
{
Inputs.Add(name, value);
}

public void Post()
{
System.Web.HttpC…