[ic] pgp attachments have .dat extenstion
ddavenport at newagedigital.com
Wed Jun 30 21:14:30 EDT 2004
> -----Original Message-----
> From: Daniel Davenport [mailto:ddavenport at newagedigital.com]
> Sent: Wednesday, June 30, 2004 9:09 PM
> To: interchange-users at icdevgroup.org
> Subject: RE: [ic] pgp attachments have .dat extenstion
> > -----Original Message-----
> > From: interchange-users-bounces at icdevgroup.org
> > [mailto:interchange-users-bounces at icdevgroup.org]On Behalf Of John1
> > Sent: Saturday, June 26, 2004 7:05 PM
> > To: interchange-users at icdevgroup.org
> > Subject: [ic] pgp attachments have .dat extenstion
> > 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]
> > [/tag]
> > However, this attaches the file with a .dat extension tacked on
> > the end e.g.
> > CreditCard_TEST123.pgp.dat
> > 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
> > is:
> > 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
> > CreditCard_TEST123.pgp
> > How do I use the [tag op=mime] to attach the correct headers so
> > that I get a
> > .pgp ending and not .dat?
> [tag op=mime interpolate=1 type=application/pgp-encrypted
> disposition='attachment; filename="CreditCard_[value
> [value mv_credit_card_info]
> from what i see in Interpolate.pm, it looks like what you want.
oops. i just re-looked it over.
[tag op=mime interpolate=1 type=application/pgp-encrypted
attach_only=1 description="CreditCard_[value mv_order_number].pgp"]
More information about the interchange-users