Forum Moderators: coopster & phranque

Message Too Old, No Replies

Goldmine email headers

problem when adding Content-Type: application/x-gm-impdata

         

dawlish

10:18 pm on Mar 27, 2002 (gmt 0)

10+ Year Member



I have set up a data capture form on a website and use a form handling script to process the data and format the output as an email. I am using cgiemail to do this.

The problem I have is the generated email needs to be processed by Goldmine contact software when downloaded. In order for this to happen I needed to add Content-Type: application/x-gm-impdata in the header (as per the instructions with Goldmine). However as soon as I add this in the header the email is not dowloaded as text, instead the data arrives in a .dat attachment.

Goldmine processes the email as it reads the header but no data is added at it is in a .dat file, so I end up with an entry record in Goldmine.

Can anyone offer any advice as to why the data would be arriving as a .dat attachment and whether there is anything I can do to sort this problem out.

Content-Type: application/x-gm-impdata needs to be in the header otherwise Goldmine won't process it.

sugarkane

12:56 pm on Mar 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How are you adding the Content-type header?

dawlish

6:58 pm on Apr 1, 2002 (gmt 0)

10+ Year Member



I'm adding the Content-Type: application/x-gm-impdata in the header using the cgiemail template(see example below of the email header). However I've tried numerous perl form handling scripts and I get the same problem, the email data comes in as a .dat attachment.

Received: from mail01c.rapidsite.net (mail01c.rapidsite.net [207.158.192.68]) by xxxx.com (8.11.6) id g2RFiUR06737 for <xx@xxxxx.com>; Wed, 27 Mar 2002 15:44:30 GMT
Received: from www109.rapidsite.net (207.158.192.242)
by mail01c.rapidsite.net (RS ver 1.0.63s) with SMTP id 04052
for <xx@xxxxx.com>; Wed, 27 Mar 2002 10:44:27 -0500 (EST)
Received: (from xxxx@localhost)
by www109.rapidsite.net (SGI-8.9.3/8.9.1) id KAA68260;
Wed, 27 Mar 2002 10:44:27 -0500 (EST)
Date: Wed, 27 Mar 2002 10:44:27 -0500 (EST)
Message-Id: <200203271544.KAA68260@www109.rapidsite.net>
Received: from 217.39.217.31 by www.xxx.com with HTTP;
Wed, 27 Mar 2002 10:44:27 EST
Content-Type: application/x-gm-impdata
To: me@mydomain.com
From: 123@xyz.co.uk
Subject: New Web Candidate
X-Loop-Detect: 1

william_dw

8:08 pm on Apr 1, 2002 (gmt 0)

10+ Year Member



I havent used goldmine myself,

I tried to search the goldmine knowledgebase [kbase.goldmine.com] but it was down, so the following is my best guess...

(the following paragraphs assume you're using the goldmine+outlook model, not the builtin goldmine client)

Outlook has a strange habit of converting emails into .dat files whenever it feels like it.

The problem is usually because of a known bug in outlook: any email where the body text starts with the word 'begin' appears as an attachment in outlook.

If the emails dont start with the word 'begin', then it's obviously something else,
what i'd recommend to you is use the built in goldmine client as it might avoid the problem.

If that dosent solve it, try goldmine's support center [goldminesw.com]

HTH,
Dw

bird

8:59 pm on Apr 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There are several things you could try, all of which may or may not have any effect on your problem, depending on your e-mail client:

Make the content type more specific, by adding a file name with the right extension (whatever your software expects for this kind of data):

Content-Type: application/x-gm-impdata; name="example.ext"

Add a header that explicitly states that the content of the message is NOT an attachement:

Content-Disposition: inline