Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFExchangemail GetAttachments - Empty AttachmentFileName

Guest
Jun 26, 2008 Jun 26, 2008
Using the cfexchangemail tag with the getAttachments I am getting java.lang.NullPointerException for some attachments. It appears that for some attachments do not show "AttachmentFileName". For my example, when I submit an email from a PDF Form it will send either a PDF file or XML file as an attachment, but these do not show up.

A cfdump shows the following results from the code attached:
AttachmentFileName: [empty string]
AttachmentFilePath: [empty string] (This is expected with the attributes used in tag)
CID: [empty string]
IsMessage: NO
MimeType: [empty string]
Size: 113476

It knows the attachment is there and it knows the size, but it can not find the name or download it.

Any Ideas?
492
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 03, 2008 Jul 03, 2008
I submitted this as a bug to Adobe.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2009 May 15, 2009
LATEST

We have the same/similar issue on cf8 8,0,1,195765

Have you had any luck in finding an solution?

We are trying to retrieve e-mails with a form attachment from and exchange server.

The form is an attached PDF form created in LiveCycle Designer ES 8.2.1.xxxx

it has a button of type submit with the submit to url set to mailto:xxx@xxx.com

and Submit as: pdf

When the form is filled and the button is clicked the file is attached on the server and can be seen retrieved via an e-mail client

however CF reports the information as when using the UID:

ATTACHMENTFILENAMEATTACHMENTFILEPATHCIDISMESSAGEMIMETYPESIZE
1[empty string][empty string][empty string]NO[empty string]417878

And ColdFusion cannot retrieve the email's attachments via Exchange via this method. Getting a java.lang.NullPointerException when trying to retrieve it.

If the PDF form is manually attached to an e-mail in Outlook the server can read/retrieve the attachment fine.

This is a major roadblock in our project! If anyone has any insights it would be greatly appreciated.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources