Send File Programmatically
Send File Programmatically
- Subject: Send File Programmatically
- From: Jerry Krinock <email@hidden>
- Date: Tue, 03 Jan 2006 16:41:37 -0800
- Thread-topic: Send File Programmatically
I want an easy way for my users to send me a file, up to 1.0 MB, if they
find one that my app fails to handle. Ideally, after first being directed
to our support web page for any news and explaining the issue, they'd get a
dialog ending with:
Send File To Developer for Analysis
Cancel OK
A nice solution would be to have an email composed within my app and sent
using something like NSMailDelivery, but I want it to:
1. Work regardless of their default email client.
2. Work if they use IMAP, SMTP or SMTP with authentication.
3. Not require password entry for authentication.
4. Work in Tiger and Panther, and if possible Jaguar.
5. Just Work > 99% of the time.
After reading archives etc. and experimenting I've concluded that these
goals are not achieveable. Am I wrong?
So instead I'm looking at using NSURLConnection to send the file's data
encoded into the body of an http POST request, directed to a cgi script on
our site, which will email it to us. This method would also give us some
after-shipment control over how it will work in the field.
Does this sound like a good approach?
Jerry Krinock
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden