Cfmail attachments not working

So I have a web page that...
1 Generates an excel file.
2 Saves the excel file to my webserver.
3 Sends an email with the excel file attached.
If the user opens the email via desktop outlook the attached
excel file will open and display just fine. If the user opens the
email via web outlook the attachment won't open. I have no idea if
this is a coldfusion problem our an outlook problem. Does anyone
have any idea's what would cause this to happen?
Thanks

It opens fine when I double click it on the server. The
correct tag is
<cfsavecontent variable="mypage">
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="
http://www.w3.org/TR/REC-html40">;
<head>
<meta http-equiv=Content-Type
content="application/vnd.ms-excel; charset=windows-1252">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 9">
<link rel=File-List
href="./headcountest_files/filelist.xml">
<link rel=Edit-Time-Data
href="./headcountest_files/editdata.mso">
<link rel=OLE-Object-Data
href="./headcountest_files/oledata.mso">
Then my table that is getting output
</cfsavecontent>
<cfset mypath =
"C:\mypath\Excel\itinerary_#uname#.xls">
<cffile action="write" file="#mypath#"
destination="C:\mypath\Excel" output="#mypage#">
This creates the excel file and saves it to my webserver.
I then do my <cfmail> and attach the file that I just
created. The metatags tell it to create the excel file.

Similar Messages

  • Mail Signatures, Folder Organization, Notification and Attachments not working the same since upgrade to Mavericks

    Hi All,
    Normally very quick to do so, I’ve been hesitant to upgrade to Mavericks based on so many issues being reported with Mail + Gmail. 
    Previously Apple released a fix for these issues and I still waited a while.  This weekend I upgraded to Mavericks and Mail is definitely not working as I’d expect it. 
    Some of the things I notice include:
    1) My saved mail folders, previously in alphabetical order, are now in reverse alphabetical order and dragging them to be in a different order has no effect
    2) Previously when I clicked on a message and pressed Message > Remove Attachments the message would reappear in my inbox within a second or two, without the attachment.  Now, the message simply disappears.
    3) The little red icon no longer appears in the dock when a new message arrives
    4) For my various accounts, signatures do not appear/disappear as I select a different From account (each of my accounts has different signatures).
    Does anyone have thoughts on any of these items?
    Thanks,

    Not an answer, but a repeat ...
    I too have problem (2) -- Remove Attachment now makes the email in question disappear (in fact moving it to Archive).
    Help would be appreciated.
    (Have just moved from Lion to Mavericks.)

  • Attachments not working in Presentation

    Hi  -- Has anyone else had issued with attachements in a published Presenter file not working?  I have had so many issues since upgrading to the latest version of Presenter and so have all of the folks on my team.  One of them made a 6 part series, that each contain 4-5 attachments.  She attached them all in Presenter and they appear in Adobe Connect when you click the paperclip, you can see each of the attachments listed and the size, but when you click them 2 out of the 4 just will not download.  Anyone have ideas why this is happening?  It happens all through her series.
    Thanks.

    Hi Jorma -- interesting, in the first session, the 2 that don't have _  in them... Article at a Glance and the Summary page.  I will try to change that and republish

  • Wiki attachments not working

    When I try to attach an image to a page it doesnt appear, how can I attach? Its doesnt works well. Tried with admin and users but not working, attachments disappear after pressed save button.

    I just tried a search. It failed the first 3 times. Last time it worked.
    gdbm is not really an optimal solution for a website, where you can have many concurrent users attempting to write at the same time. If one process gets a lock on writing, for instance, and somehow dies or hoses up, then everyone else must wait until that lock expires...Or until the lock is somehow released.

  • Godaddy Email attachments not working with Firefox 10.02. Works with Internet Exporer. What can I do.

    Attachments are not attaching to my emails in my [email protected] godaddy with Firefox the past 2 days. Going to website in Internet Explorer the email attachments work find. What can I do?

    Hello,
    I have very similar problem. Suddenly Firefox stopped work - It was working few days after ver. 4 update. I was looking everywhere for some solution but nothing worked.
    - uninstalled firewall - did not worked
    - added full exception for Firefox into the firewall - did not worked
    - Firefox reinstall - did not worked
    - Firefox complete reinstall (registry included) - did not worked
    - IPv6 diseabling - did not worked
    - diferent proxy options (no proxy, system proxy, autodetect proxy) - did not worked
    - new firefox profile - did not worked
    - complete coockies, history... deleted - did not worked
    - there is only one solution which partly works - I have used public proxy addresses for Firefox but the ping is (750ms), down/up (0.8MB/0.2MB originaly (10MB/2MB) and yes I have tried different proxy server from different countries from my included.
    - IE is working perfectly and without proxy
    - other companies browser - did not worked too
    - only IE is working
    - I have used three different malware, trojans, spyware, anti-virus programs and nothing
    It seems to me as hopeless situation or very clever move from Microsoft, I am forced to use IE - at least this works
    Any ideas, solutions?
    System Windows 7, firewall Comodo Internet security
    Thanks everyone for the help

  • Copying of attachments not working

    Dear all,
    Since I've installed Snow Leopard, it seems that copying of attachments from one email into another (select the attachment, press copy, then paste into the body of another email) is not working anymore. Every time I do this the attachment turns into a blue cubicle with a question mark inside it (instead of the thumbnail corresponding with the attachment type).
    Now I have to first save the attachment on my desktop, then go into the new mail and select "add attachment" and then add the file.
    Does anyone know how to solve this?
    Thanks and regards,
    Tim Metz

    I often get this same result when I drag a document from the finder onto the Mail application icon. If I try a second time, it usually works. This only started happening for me with Snow Leopard.

  • SOAP Receiver adapter with attachments not working

    Hello,
    I have a simple synchronous scenario like this; ABAP proxy with attachments to SOAP with attachments.
    The SOAP receiver adapter has been configured with the parameters 'Do not Use SOAP envelope' and 'Keep attachments'. We create our own SOAP envelope with custom SOAP headers, so that's the reason for the 'Do not use SOAP envelope' setting.
    When we test the scenario with an attachment then we get a timeout from PI. However, when we test the same scenario without any attachment then no errors occur.
    The external webservice has also been tested with SOAP UI and it works fine.
    Do you have any clues what the problem can be? What are we still missing in the configuration?
    We did try with the adapter modules such as PayloadSwapBean and the Message TransformBean, so far without success...
    Many thanks.
    Roberto

    Hi Stefan,
    The attachments are not really big, around 150KB.
    According to the other party (Oracle Service Bus) no messages with attachments have been received. In fact it seems like those messages never leave the PI server. SOAP requests without attachments are processed successfully.
    Thanks
    Roberto

  • Sending email with attachments not working on Lumi...

    It is not possible to attach a file to an email, either via WiFi or my 4G connection.  I have two different Office365 email accounts (work and private) that work perfectly when sending/receiving emails with/without attachments.  However when I try and share a photo (from any folder in Photos) I can select a photo, choose Share-->Email account, but when it brings up the email message screen there is nothing attached.  The same thing happens if I create an ordinary email and try to attach any file, it won't attach and the email sends OK without the attachment.
    It is not an issue with the email accounts as I can send/receive attachments OK from my laptop and iPad.  It is only when I try and send from my 1520.
    This has got me baffled!

    try to delete the account and re-add the account.
    then, try to take a picture and immediately go to that image by tapping it on the screen and sharing as you stated.
    if that doesn't work, then I wonder if the device is corrupted and the images are not "really there"
    can you see the images on your skydrive account?
    have you tried to do a soft reset?
    Soft Reset-
    Hold Vol- & Pwr until the device shuts down
    When the device vibrates and starts to reboot, release ONLY Pwr button, still holding the Vol-
    When you see the (!) on your screen, then release the Vol- button and wait until the device boots.
    Your device is now soft reset

  • Me22n attachments not working

    Hello Experts,
    I am using the Object Services icon in ME22N and ME23N. When I attach a document, I get the message "document successfully attached". I click SAVE, and get the message "No Data Changed". I go ahead and click the check mark. I now go out of the transaction and come back to view the PO, click on the Object Services icon, but the "Attachment List" is not an option. Which means the document was not attached.
    We know the attachment functionality works as the sales orders have attachments.
    Is there some sort of attachment setting that has to be activated that is document type specific?
    Thanks!!!

    I just tested and it is working fine in my system
    what i did is - Create-create attachment
    here i attached the document and then i save and went out and come back and attachment is there.
    i think for you it mighe be the authorization issue.

  • YaBB forum attachments not working

    Now on Firefox 28. This problem started about three months ago (not sure what FF version then).
    I have a YaBB forum which is used to post documents as attachments in forum entries. MS Word .doc documents work OK in FIrefox- that is when you click on a .doc attachment, you get a dialog box asking if you want to download the document. But with a .docx file (Word 2007), the ascii contents of the document are displayed on the screen, with no option to do anything with the attachment.
    The forum admin settings have both .doc and .docx as allowed attachments. In IE clicking the .docx attachment, gives the correct dialog box to download the document. In Opera, clicking the .docx, gives a dialog box which asks if I want to use MS Word to open the .docx attachment.
    Seems to be an FF issue with .docx which is a PK-zipped package. .doc is not a zipped package, but contains MS proprietary document format.
    Pete

    If you would like to do a bit more troubleshooting first, please try this two part test:
    '''Create a new Firefox profile'''
    A new profile will have your system-installed plugins (e.g., Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions, or other customizations. It also should have completely fresh settings databases and a fresh cache folder. This test is answer the question "what if" you reset to factory defaults &mdash; without actually affecting your current settings.
    Exit Firefox and start up in the Profile Manager using Start > search box (or Run):
    firefox.exe -P
    Any time you want to switch profiles, exit Firefox and return to this dialog.
    Click the Create Profile button, choose a test name, and skip the option to change the folder location. Then start Firefox in the new profile you created.
    Do those downloads work any better in the new profile?
    '''Test in Firefox's Safe Mode'''
    This will help rule out your system-level extensions as the potential culprit. Firefox's Safe Mode is a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using
    Help > Restart with Add-ons Disabled ''(Flash and other plugins still run)''
    In the dialog, click "Start in Safe Mode" (''not'' Reset)
    Any difference?
    When returning to the Profile Manager to start up in your normal profile, you might be tempted to use the Delete Profile button. But... it's a bit too easy to accidentally delete your "real" profile, so I recommend resisting the temptation. If you do want to clean up later, I suggest making a backup of all your profiles first in case something were to go wrong.

  • Cfmail "failto" not working with non-existent internal email addresses

    We've hard-coded cfmail TO value in many places across many
    applications, i.e.
    <cfmail to="[email protected];[email protected];[email protected]"
    ...>
    Suppose when one of the users (user1,user2, user3) left
    company and his email address was removed from the MS Exchange
    server, cfmail would fail saying
    A problem occurred when attempting to deliver mail.This
    exception was caused by: javax.mail.SendFailedException: Invalid
    Addresses; nested exception is: class
    javax.mail.SendFailedException:
    550 5.1.1 User unknown
    in the server exception log and cfmail wouldn't report the
    error to the email address of "failto".
    So I'm wondering if it's possible to have cfmail ignore the
    bad one(s) and continue to send the email? Or is there anything I
    should do with the Exchange server?
    Advice is much appreciated.

    Thank you, Dan.
    Sorry, what I meant by "non-existent" is not quite
    straightforward. Let me explain this way:
    I observed the problem only occurred to emails of our
    company. For instance: our company's email address ends with
    @abc.com.
    my email address: [email protected]
    my previous colleague's address: [email protected] (he's gone and
    the email is invalid / deactivated now)
    my client's email: [email protected] (used to be valid)
    If I code this way:
    <cfmail to="[email protected]" failto="[email protected]"...>
    "failto" does work and I got the email.
    but if these:
    <cfmail to="[email protected]" failto="[email protected]"...>
    <cfmail to="[email protected];[email protected]"
    failto="[email protected]"...>
    I never got emails reporting the failure but error lines in
    the mail log and the exceptions log which read:
    "Error","scheduler-3","01/28/09","11:55:32",,"Invalid
    Addresses"
    "Error","scheduler-3","01/28/09","11:55:32",,"Invalid
    Addresses"
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User
    unknown
    at
    com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    at
    com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:832)
    at
    coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:731)
    at
    coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1021)
    at coldfusion.mail.MailSpooler.run(MailSpooler.java:986)
    at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
    at
    coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550
    5.1.1 User unknown
    at
    com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    ... 7 more

  • Attachments not working for Outlook Web Access / SL Safari 4.0

    Web access to my corporate email via browser: "Microsoft Outlook WebAccess". Able to choose file(s) for attachment, selection appears to work (displays file name) but attachment is not made; it doesn't show up on the message either for the recipient or on the message in my 'sent mail' folder.
    Worked prior to Snow Leopard install. Fails consitently now. Logged a ticket with Apple.
    Anyone else? Ideas?

    I have users on MS-OWA who have lost the reply and forward facilities with Safari. They get a new mail blank form (ie with no content) when hey attempt these commands. Firefox works...
    Will try my 10.6.7 to see if there is a fix with the Safari upgrade

  • CRES html email attachments not working after upgrade to Exchange 2010

    We have just upgraded from Exchange 2003 to Exchange 2010.  No other changes have been made to our network.  No changes were made to user workstations.  Now when users receive emails from Cicso Registered Envelope Service the HTML file attachments seem to be damaged.  It seems as if Exchange 2010 is stripping part of the HTML attachment.  The final error is "Incomplete Payload".  Please let me know if you have any suggestions.

    I'm sorry that you're having problems. Can you answer these questions so that we can better help you?
    What "Adobe update" are you referring to?  Adobe Flash Player? Adobe Reader? Something else?  (Adobe produces countless products/services, so we need to know what got updated on your computer.)
    Are you using the Adobe Send service? Note that you posted your question in a forum that's used for suggesting new features for that service.
    Can you attach other files to emails, but not just PDFs?
    What email program are you using?

  • SMTP Portlet - Attachments not Working

    I've installed the upgraded SMTP Portlet. I'm not able to attach files. The Attach File window pops up and I am able to browse for files. The Attach file button closes the Attachment Window and no files are attached.

    Rahmathulla:
    With regards to getting an ID number for the attachment, it doesn't generate one. When I click the "Add" attachments, the browse for files portion is rendered in the portlet. I can browse for a file, but when I click on the "Attach" button, it takes me back to the compose message screen, but no attachments are there.
    Because I had originally used version 1, I decided to deregister the provider, delete the external application (SSO), undeploy from the OC4J_portal. I then reistalled the application.
    I inspected the application log under ../oc4j_portal/application-deployments/smtp/oc4j_portal_default_island_1. It had the following entries.
    2/13/04 3:43 PM smtp: oracle.jsp.runtimev2.JspServlet: init
    2/13/04 3:43 PM smtp: 9.0.2.2 Started
    2/13/04 3:43 PM smtp: oracle.webdb.provider.v2.adapter.SOAPServlet: init
    2/13/04 3:43 PM smtp: ServletLogger - Logging level: 4
    2/13/04 3:43 PM smtp: [id=(null), instance=(null)] CONFIGURATION: Invalid or null value for property - executionWarningTimeout = null - setting to default value of 20 seconds
    2/13/04 3:43 PM smtp: [id=(null), instance=(null)] CONFIGURATION: Invalid or null value for property - executionKillTimeout = null - setting to default value of 80 seconds
    2/13/04 3:47 PM smtp: oracle.portal.integration.email.impl.LoginServlet: init
    2/13/04 3:50 PM smtp: [id=1076683839755ApplicationServerThread-9, instance=58636_SMTP_PORTLET_39337286] CONFIGURATION: Default container renderer not specified
    2/13/04 3:50 PM smtp: [id=1076683839755ApplicationServerThread-9, instance=58636_SMTP_PORTLET_39337286] CONFIGURATION: defaulting container renderer to DefaultContainerRenderer
    2/13/04 3:50 PM smtp: [id=1076683839755ApplicationServerThread-9, instance=58636_SMTP_PORTLET_39337286] WARNING: Failed to getComposeMessage for id: null
    2/13/04 3:50 PM smtp: [id=1076683857833ApplicationServerThread-9, instance=58636_SMTP_PORTLET_39337286] WARNING: Failed to getComposeMessage for id: null
    2/13/04 3:51 PM smtp: [id=1076683873052ApplicationServerThread-6, instance=58636_SMTP_PORTLET_39337286] WARNING: Failed to getComposeMessage for id: null
    2/13/04 3:51 PM smtp: [id=1076683875130ApplicationServerThread-9, instance=58636_SMTP_PORTLET_39337286] WARNING: SMTPEditInfo: OID server Port not an integer:
    2/13/04 3:52 PM smtp: [id=1076683968333ApplicationServerThread-9, instance=58636_SMTP_PORTLET_39337286] WARNING: Failed to getComposeMessage for id: null
    2/13/04 3:53 PM smtp: oracle.portal.integration.email.multipart.FileUploadServlet: init
    2/13/04 3:53 PM smtp: [id=1076684039724ApplicationServerThread-6, instance=58636_SMTP_PORTLET_39337286] WARNING: Failed to getComposeMessage for id: null
    2/13/04 3:55 PM smtp: [id=1076684137177ApplicationServerThread-6, instance=58636_SMTP_PORTLET_39337286] WARNING: Failed to getComposeMessage for id: null
    2/13/04 3:56 PM smtp: [id=1076684191583ApplicationServerThread-9, instance=58636_SMTP_PORTLET_39337286] WARNING: Failed to getComposeMessage for id: null
    Maybe this will help?
    Thank You,
    Richard

  • Medium Size Attachments Not Working

    I can send text email and I can even send text email with an attachment. But as soon as I want to send 2 photos resized to medium, it will look like it goes but no one ever receives them. Does anyone else have this problem? Is it a server problem or a Mail problem?

    Almost certainly a server-side problem. Any problems with other attachments? How large is the email with attachments? You say "2 photos resized to medium." Does 1 photo work? How about resized to small?
    If it is a server-side problem, if it is your e-mail server it would get rejected during the attempted transfer (and it would still be in your Outbox). If it is a server somewhere down the line, and it fails, you should get an error message back (but maybe spam processing is keeping you from getting it).
    Feel free to try to email to me at fmavolio AT gmail.com.
    -fred

Maybe you are looking for

  • Issues with loadjava utility on oracle database 10.2.0.4.0

    Hi all Hoping if this is a known issue, am approaching you here .. We have an oracle database in 10.2.0.4.0 version. This database functionality of Websphere Process Server, a product from IBM. In the course we are expected to load a JAR file for a o

  • Orange uk have no more micro sims

    Just got of the phone with uk sales after a no show of my micro sim that was pre ordered on the 11th of may and was told they have ran out, the sales person said they ran out thursday morning and not to expect the sim until late next week if you have

  • Transferring Final Cut Training DVD to HD and then playing from HD

    Does the latest (Aug 07) MacBook Pro come with any software that is able to play the contents of Final Cut Pro Studio 2 training DVD after it's contents have been copied to a folder on the HD? I did that to save wear on my Optical Drive and now I can

  • Need help with Return syntax

    I though that the two pieces of code below would perform the same function but apparently i am missing something. The code is supposed to multiply two integers. Both use the add method. //Method that adds two integers this method works great public s

  • Display current time and date

    How to display current date and time together in pl sql block i have written code below but it gives me error SET SERVEROUTPUT ON DECLARE TODAY DATE; BEGIN SELECT CURRENT_DATE || TO_CHAR(CURRENT_DATE, 'FM HH:MI:SS AM') INTO TODAY FROM DUAL; DBMS_OUTP