[ic] pgp attachments have .dat extenstion

New Media E.M.S. ic_users at newmediaems.com
Sun Jun 27 10:38:16 EDT 2004

At 04:04 PM 6/26/2004, you wrote:

>I am using the following from the Foundation demo to send the credit card
>number as an attachment:
>[tag op=mime interpolate=1  type=application/pgp-encrypted
>description="CreditCard_[value mv_order_number].pgp"]
>[value mv_credit_card_info]
>However, this attaches the file with a .dat extension tacked on the end e.g.
>If I look at the e-mail source, the MIME header is:
>Content-Type: application/pgp-encrypted
>Content-ID: <some_id_text>
>Content-Disposition: inline
>Content-Description: CreditCard_TEST123.pgp
>This results in an attachment with the name CreditCard_TEST123.pgp.dat (at
>least this is the case when read in Outlook Express 6).
>Wheras if I just send the attachment from my mail reader, the MIME header
>Content-Type: application/octet-stream; name="CreditCard_TEST123.pgp"
>Content-Transfer-Encoding: 7bit
>Content-Disposition: attachment; filename="CreditCard_TEST123.pgp"
>This time the attachment arrives with the correct name
>How do I use the [tag op=mime] to attach the correct headers so that I get a
>.pgp ending and not .dat?
>Any help would be greatly appreciated.  Thanks.

Are you using Interchange 5.2? If not, you might want to upgrade. I've 
fixed this up a bit, both in the core code and in the ITL in the etc/report 

- Ed

New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          edl at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax

More information about the interchange-users mailing list