EmailPtr


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on June 13, 2005 at 13:49:07:

Now that the errors are resolved there is still the problem that Outlook/Exchange is changing the attachment from a PDF to a DAT. Or, not recognizing the attachment at a PDF and defaulting to DAT.

I sent my PDF test message to my hotmail account. It was received and recognized as a PDF. I forwarded the message back to my office account and it was received as a PDF. The difference seems to be the additional coding in the forwarded message. This same coding was in the forwarded messages I received from Jim. But not in the messages I sent to myself or Jim sent to me directly using EmailPtr.

Content-Type: application/pdf; name="attach3.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="attach3.pdf"

I went back to some code I had done for a customer to attach a Vcard (VCF) file to their outgoing email. I was using SENDMAIL and Bryce's example. His example also included the extra lines of code.

PRINT (EMAIL) TEXT$
LET TEXT$ = "--messagesection"
PRINT (EMAIL) TEXT$
LET TEXT$ = "Content-Type: text/x-vcard; charset=us-ascii"
LET TEXT$ = TEXT$ + '; name="Shaker.vcf"'
PRINT (EMAIL) TEXT$
LET TEXT$ = "Content-Transfer-Encoding: 7bit"
PRINT (EMAIL) TEXT$
LET TEXT$ = "Content-Description: vCard for Shaker Express"
PRINT (EMAIL) TEXT$
LET TEXT$ = 'Content-Disposition: attachment; filename="shaker.vcf"'
PRINT (EMAIL) TEXT$
LET TEXT$ = ''
PRINT (EMAIL) TEXT$
LET TEXT$ = "begin:vcard"
PRINT (EMAIL) TEXT$
LET TEXT$ = "version:3.0"
PRINT (EMAIL) TEXT$



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]