Problems pulling attachments via CFEXCHANGEMAIL

I’m having problems getting attachments from Exchange
2000 inbox emails. I can get the
list of items in the inbox with no problems, but when I then
loop over that query
to do an ACTION="GetAttachments" CF throws an error:
ERROR PERFORMING THE ACTION. EXCHANGE ERROR CODE : 501
I've googled the error code and cannot come up with anything
other than
ActiveSync errors for that code.
Has anyone seen anything like this? Here is my code (pretty
simple):
<cfexchangeconnection action = "open" connection =
"exchangeConnection"
protocol = "https" server = "#msxserver#"
username = "#msxuser#" password = "#msxpassword#" />
<cfexchangemail action = "get" name = "google" connection
=
"exchangeConnection" />
<cfdump var="#google#">
<cfloop query="google">
<HR>
HAS ATTACHMENT=#google.hasattachment# UID=#google.uid#
<cfif google.HasAttachment IS "yes">
<cfexchangemail action="getattachments"
connection="exchangeConnection"
uid="#google.UID#"
name="attachInfo"
attachmentPath="C:\temp\Googleattachments"
generateUniqueFilenames="true">
<BR>
<cfdump var="#attachinfo#">
</cfif>
</cfloop>
<cfexchangeconnection action = "close" connection =
"exchangeConnection" />
If I change the protocol to be HTTP instead of HTTPS, then I
get this error:
“Requested resource was not found on the server”
Is this an Exchange config problem? I get all of the message
info just fine, it’s when I try to pull the attachment that
things fall apart!
I'm baffled!
Thanks,
Reed

I'm not sure what hotfix you are referring to. BTW, my
problem seems to have solved itself. It is possible that I may have
been trying to pull attachments from the wrong message. Anyway, the
code is working for me as advertised.
-reed

Similar Messages

  • Attachments via ABAP Proxy

    I have come across one client requirment where he needs to send the txt/pdf file as an attachment from R/3, currently that interface is using the ABAP Proxy, is there any idea about How to send the attachments via ABAP Proxy?

    Hi,
    Refer
    XI: RFC or ABAP Proxy ? ....ABAP Proxies with attachments
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    Problem sending xls file in an attachment via ABAP proxy
    Receive mail with PDF attachment into XI and send to ABAP proxy
    http://help.sap.com/saphelp_nw70/helpdata/en/51/d5cd16235e4643ae8ec92395c4ad97/frameset.htm
    Thanks
    Swarup

  • Problems with attachments going corrupt from Mail in the dock when sending?

    I have had my Mac G5 Tower at home now for a couple of years now and have always had a problem with sending attachments to any one from my .mac account with mail in the dock.
    The error massage people would tell they were getting from the files that I attached were (The file is damaged and cold not be repaired). I also tried emailing the same attachment to my self and got the same results.
    I always got around this at home by emailing the attachments via web .mac account from apple’s web site this is not an ideal solution.
    Using the same .mac account and mail from the dock on my Mac at work no problems at all.
    I thought by upgrading from panther to tiger that this would help, I am still having the same trouble.
    Can anyone out there help.
    Thanks
    Mick
    Dual 1.8 Ghz PowerPC G5   Mac OS X (10.4.3)  

    Thank you Justin for your response.  Sorry for the delay in responding.   I have been unable to log in to my forum account since the first time even though I'd verified my user name, reset the password (everything I could think of).   Many hours (literally) on hold with almost every support department at Verizon hasn't resolved the login problem...so I've created a new username with my other email address.   I know that creating a new account probably isn't the kosher solution, but my frustration level with Verizon phone suport on this has gone over the top as no one department seems to claim any knowledge of how to help with forum issues and passes me off to somewhere else.  
    I am using IE 7.0.   I only have the problem when I am viewing my emails via the Verizon webmail.  When I download the emails to Outlook on my desktop, there are no problems.   In webmail, if I have an email showing in the preview pane that has links and I click on that email (in the preview pane), the linked website opens and I can't close it or do anything else.   I can't even switch to viewing other emails in my inbox in the preview pane.      I can right click on the email showing in the preview pane and select to open in a new window, but if I left click the link activates right there in the preview pane.

  • Unable to download attachments via EAS on Note 3.

    Hi folks.
    I'm having a problem with attachments on an Exchange ActiveSync account. It seems that if the account is configured to NOT download attachments automatically when connected to WiFi (or you are not connected to WiFi, but only cellular data), then it is impossible to download the attachment manually.
    The attachments show up in the email, but clicking "Preview" or "Download" both result in the same error: "Unable to communicate with server".
    I am a software developer, and VERY familiar with the EAS protocol. I've sniffed the traffic between the server and device both during the failed, manual download attempt and an automatically triggered download attempt. The response from the server to the client is IDENTICAL. The request is slightly different (for those playing along, the RANGE value is omitted for the automatic request, but present for the explicit request). The response is propertly formatted and correct data in both cases, but the device does not like something about the explicit request. This is regardless of attachment size or content. This works flawlessly on other devices, including stock AOSP 4.3 rom on a Galaxy Nexus device. I'm thinking this is a bug in Samsung's Email apk?
    Does anybody have any ideas, any other contacts?

        Hi mrubinsk,
    Downloading attachments is very important! I understand that you are very familiar with EAS and have already done some troubleshooting in an effort to resolve the issue. I have in the past have similar issues and learned that sometimes the most basic step is the one that ultimately resolve my concerns. Have you deleted and readd your EAS account on your phone yet? If not, please give it a try. Remove account, power cycle your device and set up your account again and test. Keep us posted.
    AntonioC_VZW
    Follow us on Twitter at www.twitter.com/VZWSupport

  • Problem with attachments and antivirus.scanners

    Hi!
    Problem is: Sending any attachment from Tiger (10.4.8) mail, all attachments are removed by a virus scanner at receiving end:
    This message was modified by F-Secure Anti-Virus E-Mail Scanning.
    Tried Windows friendly, text only, repair permissions, sending under other isp etc. no help.
    If this same message with same attachment is send from next mac with Panther, it is received ok.
    Receiving company is big and wont alter their virus-scanners and the problem clearly lies in Tiger.
    Any help welcome.
      Mac OS X (10.4.8)  

    The subject of your message should have been "Problems with attachments and F-Secure antivirus" since this is not a problem with all antivirus software, only with F-Secure.
    Check this thread for a possible temporary solution when sending attachments to those who use F-Secure.
    http://discussions.apple.com/thread.jspa?messageID=2837384&#2837384

  • Help! Trying to print emails w/PDF attachments via bluetooth from 8300 to HP OfficeJet8470

    Trying to print emails w/PDF attachments via bluetooth from 8300 to HP OfficeJet8470.
    My boss shopped for and picked this phone based on the store staff.  He wants to be able to have our service tech be able to receive work orders via email, in the form of a pdf attachment, and be able to print using the bluetooth enabled HP Office Jet 8470, hardware that was sold to him in another store with the statements that it would work with his application.
    Everything I have seen on this site, and the lack of information elsewhere, leads me to question if we have the correct applications/hardware at all...
    If so, I need to be able to explain clearly to my boss any options that we have, and why or why not it won't work. 
    Any ideas at all?  Thanks in advance~    Reagan

    Your BlackBerry alone won't connect to a Bluetooth printer. Whoever told him that it would should be questioned.
    However, there is an application called BeamSuite, that offers a printing solution specifically for PDF documens that you should explore...
    Print Documents to a Bluetooth Enabled Printer 
    http://www.slgmobile.com/beamsuite.html
    BeamSuite is much more than a document viewer though. You can also print your documents directly from your BlackBerry to any Bluetooth enabled printer. Simply pair your BlackBerry device with the printer and print your documents.
    If your printer is not Bluetooth enabled, you can still print your documents to it by connecting a Bluetooth printer adapter to your printer that connects to the printer’s USB port. A key differentiator of our solution is that it allows you to easily and transparently print to over 1500 compatible printers from virtually any BlackBerry device, not just the latest and the most powerful BlackBerry.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problem saving attachments with longish filenames

    We're having a problem saving attachments from Mail that are 25+ characters in length. ie. If we click on the "Save" attachment button in Mail, we get an alert that the file can't be saved because it's too long. We can drag the file to the desktop, but then can't move it without getting the "name is too long" alert. We have to change the name, deleting a bunch of characters. Using HFS+. Anyone have a solution?

    When you drag the attachment to the desktop you should be able to click on the file's name then edit it so it's less then 25 characters. Try saving it again after deleting some characters.
    We just switched from OS 9.4 to OS 10.4 (Intel) and found that Photoshop did not recognize any of the pics in our folders because we haven't been saving them with the file extension (i.e. jpeg, eps, etc.) We had to open all our pic files then add the extension. Apparently our old Macs could recognize a photo file but our new ones need the extension to be able to read the file. So if your file name is too long it's probably cutting off the extension - your computer won't let you save it until you make room for the file extension at the end.
    Hope this helps.
    Intel Mac Pro   Mac OS X (10.4.7)  

  • Attachments via email from my ipad?

    How can I send pages and numbers documents as attachments via email from my ipad?

    There are instructions for Pages here http://help.apple.com/pages/ipad/1.4/#tan72489eaa , but basically it's down via the document itself in the Pages app. Numbers help is here http://help.apple.com/numbers/ipad/1.4/#tan727195cd

  • Problems migrating data via LSMW using the IDoc method

    Hello everybody,
    I got a very strange problem migrating data via the LSMW. I tried to map legacy data using the IDoc mapping method. I'm using the message type 'CRMXIF_PARTNER_SAVE_M ' and the basic IDoc type 'CRMXIF_PARTNER_SAVE_M01'.
    I can read the import data and convert it to IDoc structure as well as generate the IDoc. When I start processing the IDoc afterwards I get always the same error messages which I don't understand...
    The errors are:
    1) Error status 'A ' calling validation service (Status 51)
    2) Validation error occurred: Module CRM_BUPA_MAIN_VAL , BDoc type BUPA_MAIN (Status 51)
    3) Error_Time Dependency_Addresses CHECK_TABLE_MISSING (Status 51)
    4) Internal error when calling operation module BUA_CHECK_ADDRESS_VALIDITY_ALL : Check table missing (Status 51)
    5) Address moves ignored in the case of time-independent systems (Status 51)
    6) Partner data processed with key PartnerGUID 4BF67ADE9B9923BEE10000000A3500DB (Status 51)
    7) Partner (4BF67ADE9B9923BEE10000000A3500DB ): the following errors occurred (Status 51)
    I tried to import the following data:
    external ID
    Name1
    Name2
    Address data
    Telephone data
    Fax data
    Website data
    Can anybody tell me where those errors come from and how I can fix them. Would be great if somebody could help me!
    Thank you and best regards,
    Markus

    so apparently my issue with this was setting the time zone in the Address to the time zone of the user doing the conversion. You can find the time zone in SU01.
    Also you can create a BP in the WebUI then check t-code SMW01 and it will help you on passing the values to CRMXIF_PARTNER_SAVE
    Edited by: Akeem Lockett on Jul 8, 2010 7:44 AM

  • Password protection for attachments via iBots

    We need to distribute reports via iBots to our clients (external users) and as per our company policy we need to password protect any attachments with sensitive data to outside users. How can we password protect Excel, CSV, PDF attachments via iBots?
    Thanks.

    user616533 wrote:
    We need to distribute reports via iBots to our clients (external users) and as per our company policy we need to password protect any attachments with sensitive data to outside users. How can we password protect Excel, CSV, PDF attachments via iBots?
    Thanks.Here are my 2 cents on this:
    There is no inbuilt functionality to password protect the file's that are being exported from OBIEE. A workaround I can think of is to create a generic User ID, and provide the external users with a go URL to the report, where they can download the data themselves, but will need to authenticate before that can be done.
    Thanks,
    -A.Y

  • Error Removing SharePoint Task Attachments via Outlook

    Hello,
    I'm having some trouble with my SharePoint (2010) task list when handling attachments via Outlook (2007 SP3). I created a set of simple Outlook macros for updating SharePoint tasks. I can create and update the tasks without issue and even attach files to
    the task which successfully sync with SharePoint. The error comes when attempting to remove the attachment:
    Task 'SharePoint' reported error (0x80004005) : 'One or more items failed to copy. Changes that were made to their attachments are not compatible with the server. The failed items were moved to your Local Failures folder and replaced with copies from the server.
    If you need assistance troubleshooting items in your Local Failures folder, a Help topic is available at the following address: http://go.microsoft.com/fwlink/?LinkId=70300. For details, see the log file .'
    At first I figured it was my macros so I manually created a SharePoint task and attached a file in Outlook. When I manually attempted to delete the file I received the same error. Researching the error lead to two issues: uploading PDLs and Assigned SharePoint
    contact missing valid email. I checked for both and neither are the case.
    As info, the SharePoint list was connected to Outlook per the instructions found on other pages. Is there some limitation to removing task attachments in SharePoint? Any help you can give me would be appreciated.
    Best

    Hi,
    For your issue, it can be related with attachments in the task item. Please make sure attachments have subject that not ends with a dot.
    Reference:
    http://stackoverflow.com/questions/22472121/synchronizing-tasks-from-sharepoint-list-to-outlook-task-list
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Having issues with sending attachments via iMail to PC users

    Having issues with sending attachments via iMail to PC users. Either they do not see all the attachments or the attachment comes across blank. Is there any suggested ways to resolve this?

    You can also use Dropbox. 2GB free. Put files in the Public folder and you can send them links of the files instead.
    You can use my referral link http://db.tt/MXNpy62 to create an account.

  • I am having problemes opening attachments from adobe reader.  I'm getting error 1606 (an internal error).  Plz HELP!

    I am having problems opening attachments from adobe reader.  I'm getting error 1606 (internal error).  PLZ HELP!

    <http://kb2.adobe.com/cps/402/kb402867.html> might help.

  • Problems Capturing Video via FireWire

    I have had problems capturing video via firewire on my MacBook Pro. It is an early 2008 model. I have tried capturing video using multiple programs, cables and cameras. In both Final Cut Express and iMovie ('08 and '09) I loose the connection mysteriously. It just stops sensing my camera mid capture. I can shut the computer down, programs down and cameras down but nothing seems to work consistently in getting it to work. The weird part is that it does work some times. Recently I tried an auto capture of a whole miniDV tape through a sony handicam via iMovie '09. It got 20mins of the tape then stopped and rewound the tape. When trying it again it read "connection error". I could not get it to work. I put the computer to sleep and came back later. It worked but only captured about 10 minutes then shut down the whole camera and import completely. I switched to manual import and it will now only let me capture about 20 seconds at a time. What is going on? To me it seems like the port itself is malfunctioning and disconnecting the signal randomly. Has anyone else experienced this? What is the cause and what can I do about it?

    I've been reading the forums and it seems that there is an issue with the Firewire port in general. I have an external firewire 800 HD and when copying large files or a large number of files the HD gets dismounted unexpectedly. Your case seems similar in that we are both transferring large files via Firewire. Anyone have any fixes for this?

  • Vi to send mail-attachments via actX

    Where could I find a library example in LBV6 to send a mail with
    attachments via Outlook 97 and activeX?
    I got an example in
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/7f4e34700d44ef4d86256894005aa751?OpenDocument
    but this does not work.
    Thanks.
    Regards
    Gerard D'Ans ([email protected])
    Laborelec Rodestraat,125 B-1630 Linkebeek
    tel 32 2 382 0568
    fax 32 2 282 0241
    ULB SMA ([email protected])
    Blvd F D Roosevelt CP165 B-1050 Brussels
    Tel 32 2 650 2515
    http://www.ulb.ac.be/polytech/laborulb/index.htm

    The example you had a link to was for Labwindows. Try this example for LabVIEW:
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/365c4572fd9d0571862569050058435c?OpenDocument
    Hope this helps.
    Brian

Maybe you are looking for

  • Office Report Generation Toolkit 1.0.1 and MS Office 2000 problem

    Hello. I'm tring to make a repot in word using a template..everything works just fine when in development..but when i make the executable the problem arises. I get error code 7  (Cannot open vi reference) in NewReport.vi.. FYI i'm running the aplicat

  • How do I delete more than 1 bookmark at a time

    I have a gazillion bookmarks, how can I delete more than 1 at a time?

  • I have a component like the following and it completely crashes the design view in flex builder

    I have a component like the following and it completely crashes the design view in flex builder.I can see anything in the layout. Everything compliles fine and looks normal in the outline view. Any ideas whats wrong. If I remove the AdvancedDataGridC

  • Access ECC business object event in CRM

    Hi Experts, We have a requirement in which we need to check whether a business object event is triggered in ECC system and access the related business object details in CRM system. The ECC and CRM systems are already integrated. Any help on how to ac

  • TXT file

    Hi experts, I need to create a TXT file in the server. I'm using the command open dataset for output and TRANSFER for this. My problem is the format in the txt File. Example: The system is generating this format: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx