attachment

How to name a file for download on Firefox?

The following headers work on IE but not on FF <%@ Page Language="C#" ContentType="text/csv" Inherits="System.Web.Mvc.ViewPage"%> <% Response.AddHeader("Content-Disposition", "filename=report.csv;attachment"); %> In FF the suggested name in FF appears as "report" without the extension. ...

How do I write a restful web service that accepts a binary file (pdf)

I'm trying to write a restful web service in java that will take a few string params and a binary file (pdf) param. I understand how to do the strings but I'm getting hung up on the binary file. Any ideas / examples? Here's what I have so far @GET @ConsumeMime("multipart/form-data") @ProduceMime("text/plain") @Path("submit/{client_id...

Multiple attachments columns in SharePoint lists

What I need is to clearly differentiate between the attachments (this is an approval, this is an offer, this is a PO, etc). Is this possible, or it is working only in bulk (attach all files together)? Thanks, ...

C# MailTo with Attachment?

Currently I am using the below method to open the users outlook email account and populate an email with the relevant content for sending: public void SendSupportEmail(string emailAddress, string subject, string body) { Process.Start("mailto:" + emailAddress + "?subject=" + subject + "&body=" + body); } I want ...

File uploading and email in JSP

I need to make a simple page in JSP. I've never worked in JSP before ever. I have a form that has two fields: one is a file upload field and the other is a textbox. The user enters one email address in the field and uploads a file and upon submission. I should be able to email the attachment to the email address entered. I need a quick...

Wanting to email from C# with attachment like MS Word

This is really odd that I can't seem to find out how to do this, so I'm wondering if I'm missing something obvious. I'm wanting to put a menu on our application like is found in Word and Excel, File -> Send To -> Mail Recipient (As Attachment) Our requirements are to create and display the email with the attachment, just like Word and ...

attaching a text file to an email

I successfully created a txt file (i.e. the file exists and opens), I would like to attach it to an email that I am successfully generating (i.e. the email opens and I can put text into the email etc. and send it). Here is the code I have now for performing the attachment: // Attach a file to the email NSString *path = [self dataFilePa...

What is the best way to allow users to email images audio or video to our website?

Does anyone have any experience developing a way to allow users to upload photographs (and possibly video) to a website to be stored in a database from mobile devices? We will be running our system on a UNIX platform and most of the system logic is written in PHP and data is stored in a MySQL database. Members will be given an email ad...

Stream as an Attachment to System.Net.Mail is 0 bytes

I've got a project where I'm using a PDF generator to send a file to a user. We'd like to give the user the option to attach this file to an email instead, and we're having trouble using the Stream object and Attachment logic together. We start with ABCpdf, which has two save methods: it can save to a Stream, or if you give it a string...

How can I send an email with attachments from a PHP form?

How can I send an email with attachments from a PHP form? ...

Lotus Notes email as an attachment to another email

HI all, This is in Notes 8.5 environment . I just wanted to know how to attach an email to another email as real attachment not a "Document Link". I intended to attach an email, so I drag & dropped an email to another email's body but this turned out to be a "Document Link". This is an issue when I deleted the original attachment(an ...

Scanning attachment before uploading on the server?

I am giving to upload functionality, i want that files must be scaned on Server side, Before they uploaded and then they are are saved on that server. Is there any free available antivirus engines to scan the attachment on the server? Thanks ...

I need to attach a file to an outbound email automatically...Help...

I have one form (input.html) that's completed by people working in five different divisions of this business. When the form is submitted it posts to output.php. Output.php does a number of things: First it displays all of the input information to the screen as a completed form. (Just to show them their completed document). It has also...

Is it possible to send a file attachment (txt) from iphone via email?

I saw two related questions about this topic - one has an old link in an answer and this one doesn't have an answer (right now). (I am new to iphone development) I want to create a file from my app, then send that file as an attachment. Is this possible? I'm not looking for someone to send me teh codez - just SPECIFIC references and ...

How can I send mail to Gmail with an attachment, in Perl?

How can I send mail to Gmail using Perl? Here's what I'm trying: my $mailer = Email::Send->new( { mailer => 'SMTP::TLS', mailer_args => [ Host => 'smtp.gmail.com', Port => 587, User => 'xxx', Password => 'xxx', ] } ); use Email::Simple::Cre...

How to make SharePoint accept attachments with special characters in the file name?

Hi, I noticed that every time I try to attach a file to a SharePoint list, if the file name contains any special characters (#, &, @, ...) it will not go through. Will not be attached and will cause an error. Is there any way around that? Thanks, ...

How to add an UIImage in MailComposer Sheet of MFMailComposeViewController in iPhone

Hi everybody, I am asking this question second time in a different manner. I want to insert UIImages inside the composer sheet of MFMailComposerViewController. Please note I dont want to attach them but I want to place them in a table using HTML code which will be the part of the email body. I am really finding it difficult to find a...

IMAP on C# - Download Mails and Attachments

I have tried this on C# using open source project called "Koolwired.Imap" on sourceforge. It was OK when downloading mails, but for attachments it is only listing the file name of the attachment. Is there anyone who has tried this? If not is there any other better free library which can do the same (I need a free/open source solution f...

Programatically retreive an attachment stored on a note on a CRM 4.0 entity

Hi How would you suggest working with files that is stored on the note of a entity in Crm. Could you write a generic method that will enable you to access any type of file? Or would it be better to have a method for dealing with each type of file? For example, we are going to be saving a mix of swf files and xml files on the entity, ...

RESTful design - how to model entity's attachments

I am trying to model entity's attachments in REST. Let's say a defect entity can have multiple attachments attached to it. Every attachment has a description and some other properties (last modified, file size...) . The attachment itself is a file in any format (jpeg, doc ...) I was wondering how should I model it RESTfully I thought a...