Automatic Attach File and Email

I know can do the following to have page opened as a word
document. But how can I have, when opened as a word document be
automatically emailed to email recepients as a word attachment
without the user going through the file menu to attach and email
the file?
<cfheader name="Content-disposition" value="attachment;
filename=InsertionOrder_#PartnerID#.doc" />
<cfcontent type="application/msword"
reset="yes"></cfcontent>

eziokolo wrote:
> I know can do the following to have page opened as a
word document. But how can
> I have, when opened as a word document be automatically
emailed to email
> recepients as a word attachment without the user going
through the file menu to
> attach and email the file?
>
> <cfheader name="Content-disposition"
value="attachment;
> filename=InsertionOrder_#PartnerID#.doc" />
> <cfcontent type="application/msword"
reset="yes"></cfcontent>
>
>
very confused... who's emailing to who???
do you want to email a word doc stored on your server to a
user when a
user requests to view the doc, or do you want a user to email
a word doc
from their computer to you when they are viewing it???
if the former, just use cfmail with cfmailpart tags before
your
streaming code above to email the doc to anyone you want....
in the latter case, you have no way of controlling it.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

Similar Messages

  • Is there a way to tell the difference between an attached file, and an image that is embedded in an email?

    When Outlook receives an email, it appears that attached files and embedded images are carried as Attachments.  In looking at emails and the individual attachments/embedded images with Outlook Spy, I do not see anything that would tell me which is
    which.  Obviously Outlook knows the difference ... is there something that I'm missing?mdpowers

    Hi Ken,
    In my code i have something like that:
    public static bool IsEmbeddedAttachment(Outlook.Attachment attachment)
    //Anexos que não são embedded são obrigatóriamente olByValue, porém os embedded podem ser de qualquer tipo
    if (attachment.Type != Outlook.OlAttachmentType.olByValue)
    return true;
    //Busca a propriedade contentID do anexo. Anexos embedded não precisam necessáriamente gerar um ContentID. Anexos fixos não geram ContentID
    string strATTACH_CONTENT_ID = attachment.PropertyAccessor.GetProperty(@"http://schemas.microsoft.com/mapi/proptag/0x3712001E").ToString();
    //Busca a propriedade contentLocation. Para que o anexo seja embedded é necessario que essa propriedade esteja vazia ou nulla
    string strATTACH_CONTENT_LOCATION = attachment.PropertyAccessor.GetProperty(@"http://schemas.microsoft.com/mapi/proptag/0x3713001E").ToString();
    if (!string.IsNullOrWhiteSpace(strATTACH_CONTENT_ID) || !string.IsNullOrWhiteSpace(strATTACH_CONTENT_LOCATION))
    //Busca a propriedade AttachFlag se for diferente de 4 é uma imagem embedded
    if ((int)attachment.PropertyAccessor.GetProperty(@"http://schemas.microsoft.com/mapi/proptag/0x37140003") == 4)
    return true;
    if ((int)attachment.PropertyAccessor.GetProperty(@"http://schemas.microsoft.com/mapi/proptag/0x37050003") == 6)
    return true;
    if ((int)attachment.PropertyAccessor.GetProperty(@"http://schemas.microsoft.com/mapi/proptag/0x37140003") == 4)
    return true;
    return false;
    And was working very well until last week. 
    I have a problem with a single email. This email attachments possess 2 PDF type files. These files are not embbed in the email, but they have the contentId property. Could you tell me why? or if its possible discovery why this happens?
    PS.: Sorry about my english.
    Att's,
    Anderson Rissardi.

  • Cannot attach files to email. get message "An internal error occurred when attempting to attach... " when do retry and "switch" can attach the file. What is the problem? Files attach ok with IE.

    Cannot attach files to email. get message "An internal error occurred when attempting to attach... " Have tried attaching docs and jpg. Same result , files don't attach. When click on try again and then "switch" the file does attach.

    Cannot attach files to email. get message "An internal error occurred when attempting to attach... " Have tried attaching docs and jpg. Same result , files don't attach. When click on try again and then "switch" the file does attach.

  • Cannot attach files to emails

    Over a year ago I could not attach a pciture to an outgoing email when using firefox as my browser and yahoo as my email. Then it started working again and now it is not working again. I type an email and try to attach a file and I cannot. If I sign in thru internet explorer I can attach the file without any problems. Any help would be appreciated on why I cannot attach a file to an emailk with firefox as my browser.

    Just installed Pure 2.0 as an upgrade to Kas Internet Security on my ASUS pc laptop. Firefox 18.0.2 has automatically disabled Kas URL Advisor 12.0.1.311, Anti-Banner, and Virtual Keyboard. are these or any other issues w/Pure 2.0 responsible for suddenly corrupting Firefox or my webmail server's ability to attach files to emails just after i had installed Pure? i need your help determining whether that's the cause or simply correlation.
    when i try to attach any file to an email message, my email pops up a blank window with the following address: http://md03.quartz.synacor.com/service/upload?fmt=extended
    WHAT HASN'T FIXED THE PROBLEM: 1. a tech service call to my isp who thinks Kas Pure is the issue since all isp diagnostics check out ok. 2. disabling Pure didn't allow for attaching files. 3. neither did uninstalling it. 4. neither did re-installing using Kas-supplied recovery disk which then needed massive updates.
    WHAT TEMPORARILY WORKED AROUND THE PROBLEM: 1. restarting Firefox with add-ons disabled. THIS mode allowed attachments, but isn't sustainable. 2. IN ADDITION, as i re-enabled add-ons ONE AT A TIME i could successfully send an email attachment AT EACH POINT. once all-ons were back on and i restarted the computer, the problem returned. 3. sending email with attachments from Internet Explorer (i will not return to that browser!). 4. sending email with attachments through the same isp using our iMac.
    i will now try the fix mentioned above.

  • Recently, I have not been able to attach files to emails using the MobileMe webmail system.

    When trying to attach files to emails using the MobileMe webmail system, it lets me browse and click on a file but then does nothing and there is no actual attachment. It previously always worked. I checked with the MobileMe folks and they said it is a browser problem. (True, it works in Safari.) Any ideas on how to fix this? I prefer Firefox, of course.

    Hi davebundy-
    One suggestion I've heard is that ad block may be perceiving the mail client as an advertisement. The solution was to mark the webmail URL as safe with any ad block plugins or software you have. Hope that helps.

  • Can't attach files to emails

    I recently upgraded to a G5 Dual 2GHz system running OS X Tiger. I am having trouble attaching files of any kind to email. I have email accounts with Charter High Speed Cable, and a SquirrelMail account with APlus.net (who hosts my Website).
    On my older Beige G3 tower, I never had a problem. As soon as I got the new machine up and running, I lost the ability to attach files using either account.
    I know it is a system issue of some sort, because I can attach files to emails from either account from remote locations. I can receive attached files, but can't send attached files.
    Are there any known conflicts with Tiger that could be a culprit? Could it be fax software or Norton Antivirus?
    Any help would be greatly appreciated!
    Wade

    I recently upgraded to a G5 Dual 2GHz system running OS X Tiger. I am having trouble attaching files of any kind to email. I have email accounts with Charter High Speed Cable, and a SquirrelMail account with APlus.net (who hosts my Website).
    On my older Beige G3 tower, I never had a problem. As soon as I got the new machine up and running, I lost the ability to attach files using either account.
    I know it is a system issue of some sort, because I can attach files to emails from either account from remote locations. I can receive attached files, but can't send attached files.
    Are there any known conflicts with Tiger that could be a culprit? Could it be fax software or Norton Antivirus?
    Any help would be greatly appreciated!
    Wade

  • After upgrade I cannot attach files to emails in mobileme.

    upgraded to 7.0.1 and now I can't attach files to emails using mobileme.
    I changed to Internet explorer and it works.

    i have the same problem on a Mac after upgrading Firefox, no errors, just nothing is happening after clicking on the attachment button. I can add the attachment by drag and drop, but then the receiver tells me he or she received my message with a big red cross through the attachment.

  • My iMac wont attach files to email

    iMac OS X 10.6.8
    HELP! My iMac has stopped attaching files to email. I have tried yahoo and gmail on both safari and firefox. I havent had any issues until this week.

    OK, when you hear the startup tone hold down the Shift key on your keyboard until a progress bar appears on the display. Let it fully boot in Safe Mode then, as mentioned early restart normally and re-test.
    Also you can always use Google to search for things like "OS X Safe Mode start" and you will find Apple's instructions on-line.

  • Cannot attach files to email with firefox 31

    using windows xp, firefox 31, gmail
    try to attach file to email, click on attachment icon (paperclip) and nothing happens. Not pop up, no error, nothing happens.
    Tried IE and everything worked fine, attached file no problem
    Have tried FF in safe mode - same problem
    Please help, I reeeeeaaaly do not want to use IE
    thanks

    Try allowing pop up windows
    Open Menu
    Options
    Content (on the top)
    Click Exceptions...
    Type mail.google.com in address of website area
    Click Allow
    Try to open attachment window now.
    Restart FireFox and try adding attachment again.

  • What .plist file is responsible for the timestamp on files and emails?

    The genius bar told me that the preference directory was responsible for all files and emails being time stamped with 8:32 am. By logging in as another user, this does not happen. So which .plist file needs to be recreated in order to fix this problem for this user?

    The backup.lock file is open in Perl so I can't delete it and there are two perl.exe processes running which I didn't want to just stop one or both using Task Manager.
    Below is an excerpt from the end of the dbbackup.log file:
    VALIDATE TABLE "DBA"."SysServicesEnum"
    VALIDATE TABLE "DBA"."SystemComponent"
    VALIDATE TABLE "DBA"."SYSLOG_20130303"
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has missing index entries
    Primary key for "SYSLOG_20130303" has mis
    Is there a way to remove "SYSLOG_20130303" from the DB?

  • Save data in a file and email the file

    Dear all,
    I have 2 vi files:
    1. one vi file can store data into a file when it runs and stopped
    2. another vi can send a file out through email when it is run.
    Is it possible for me to run the first vi and stop after one hour (to store data into A file), then run the second vi file and stop (to send A file through email), and then run the first vi again immediately after running the second vi? This is because I need to send out my data saved hourly through email and get my 1st vi to continue running through out the day.
    Due to the file path for my first vi and the second vi are the same, I keep getting error as below when either 1 vi is not stopped.
    Error 5 occurred at Open/Create/Replace File in Write Spreadsheet String.vi->Write To Spreadsheet File (DBL).vi
    Please advice. Thanks.
    Kim

    Dear Ravens,
    I tried to kill (remove) the event structure from my earlier code, but as I run it, I get the same error again- error 5.
    I also tried to put time out value 200 at the timenode at the upper left of the event structure but the email part just never executed.
    I searched thru the forum and found a several examples on state machine as attached. I tried the first attachment for my program but obviously I used the wrong one as you adviced. As for the other state machine examples that I downloaded, I couldn't figure out how to apply them for my case correctly. Can you advcice how can I implement state machine to get the results tat I need?... Pls gv me some clearer hints? 
    Attachments:
    QueuedStateMachineWithEvents.vi ‏49 KB
    StandardStateMachine_2MOD.vi ‏19 KB
    JKI State machine.vi ‏75 KB

  • Not able to attach files to email account from my hard drive

    Firefox will not attach files (from my hard drive - mostly MS Word and PDF files) to my email accounts or job application sites. I tried using Internet Explorer and was able to attach files. So, the problem seem to be Firefox.
    I prefer to use Firefox, so please help!

    Try clear your recent history :
    *[https://support.mozilla.org/en-US/kb/remove-recent-browsing-search-and-download-history Clear recent history]
    Also try attach in safe mode:
    *[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in safe mode]

  • How to attach file in emails

    Hi how can add attachment in emails

    You email files from within the app that the file is created or saved.
    Launch the app that contains the file that you want to email. Open the file. Look for a tools icon or a curved arrow icon in the upper right corner. Tap on it and you should see an option to email the file.

  • Attaching files to email - E90

    Does anybody know how to attach a file on your phone to an email using the phone's email messaging application? I have been trying in vain. I use Blackberry connect on my phone. Secondly, if this is not possible is there any other better application around that would do the job.
    The only one way I have been able to do this is get on the web on the E90 and use Hotmail to send an attachment (a file located on the phone itself). Gmail, unfortunately, does not provide the option to attach a file!!
    if this could be done it would make the E90 truly portable. One could also then help use e-fax to send faxes directly from the phone.
    JM

    You can setup your phone for IMAP Gmail which will allow you to attach files.
    Instructions to set up IMAP Gmail can be found at
    https://mail.google.com/support/bin/answer.py?answer=78887

  • Firefox will not allow me to attach files to Emails in MobileMe

    When I create a new email in MobileMe, I cannot attach a file to the email. I was always able to in previous versions, but since the latest update, nothing happens. I click on the 'attach file' icon, locate the file and click 'open', but nothing happens. It just goes back to the original email screen with nothing attached.

    Hi satorilori-
    Try this:
    -> Clear Cookies & Cache
    • https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
    -> Clear the Network Cache
    -> Reload web page(s) and bypass the cache.
    • Press and hold Shift and left-click the Reload button.
    • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    • Press "Cmd + Shift + R" (MAC)
    Check and tell if its working.

Maybe you are looking for

  • Flash not working in ie6

    I am starting to go a bit cross eyed here. I am currently testing a site I am doing in IE6. There is a flash banner at the top of the site which works perfectly in IE7, FF, Oprah and safari but in IE6 it is just a white box. I have vista so I have to

  • Imac (bluebery) cd drive busted

    I'm wondering if I can fix this issue: my cd drive will make click sounds every 3 seconds when i put a disc in, also ive noticed that the optics of the drive on move to the spiner not away from it. it wouldnt turn on before, i fixed that by taking th

  • Question about UoM conversion

    I'm trying to implement the UoM conversion that is now standard in BI 7.0.  I think I have all the backend work done, but I'm having trouble converting the UoM on the front end when running a query. Here's what I did on the backend to set it up. 1- I

  • Update query error in php

    please help. I ran the query below in php4 + oacle9i <?php $quantity = 12345; $grace=20; $conn = ociLogon('username', 'pwd','host'); if (!$conn) { $e = ocierror(); print htmlentities($e['message']); exit; $query = "udpate product set status_dtm = (st

  • Can't make notes while reading

    Hello, in my lectures I am used to make notes into my books. I could do the same on my pdf documents with my touchscreen. Now in this programm I couldn't find out how to make notes on my digital book. It is quite unpractical for me if I can't make no