Re: ERPDFGeneration problem & best practices

2012-09-23 Thread Tim Worman
On Sep 23, 2012, at 6:24 PM, Q wrote: > > On 24/09/2012, at 10:21 AM, Tim Worman wrote: > >> On Sep 21, 2012, at 5:50 PM, Q wrote: >> >>> >>> On 22/09/2012, at 6:26 AM, Tim Worman wrote: >>> All: My app is attempting to attach a PDF to an email and I'm getting a fail

Re: ERPDFGeneration problem & best practices

2012-09-23 Thread Q
On 24/09/2012, at 10:21 AM, Tim Worman wrote: > On Sep 21, 2012, at 5:50 PM, Q wrote: > >> >> On 22/09/2012, at 6:26 AM, Tim Worman wrote: >> >>> All: >>> >>> My app is attempting to attach a PDF to an email and I'm getting a failure. >>> The only response is: >>> >>> "Your request produ

Re: ERPDFGeneration problem & best practices

2012-09-23 Thread Tim Worman
On Sep 21, 2012, at 5:50 PM, Q wrote: > > On 22/09/2012, at 6:26 AM, Tim Worman wrote: > >> All: >> >> My app is attempting to attach a PDF to an email and I'm getting a failure. >> The only response is: >> >> "Your request produced an error." >> >> The code below works fine in development

Re: ERPDFGeneration problem & best practices

2012-09-21 Thread Tim Worman
Q: It terminates right after logging out "making pdf" and when trying to capture the PDF component as NSData. I'll try what you suggested. What's also odd is that it runs great in development - with the only odd thing I see there that after this process there is a message in the console about

Re: ERPDFGeneration problem & best practices

2012-09-21 Thread Q
On 22/09/2012, at 6:26 AM, Tim Worman wrote: > All: > > My app is attempting to attach a PDF to an email and I'm getting a failure. > The only response is: > > "Your request produced an error." > > The code below works fine in development but fails in deployment. I'm using > ERJavaMail for

Re: ERPDFGeneration problem & best practices

2012-09-21 Thread Tim Worman
Thanks Amedeo. That is what I'm doing. Per the code below: mail.addAttachment(new ERMailDataAttachment(acctPdf.pdfFilename(),null,pdf)); Tim On Sep 21, 2012, at 1:30 PM, Amedeo Mantica wrote: > You shouldn't send the PDF directly in email. You should add it as attachment > > Sent from my iPh

Re: ERPDFGeneration problem & best practices

2012-09-21 Thread Amedeo Mantica
You shouldn't send the PDF directly in email. You should add it as attachment Sent from my iPhone On 21/set/2012, at 22:26, Tim Worman wrote: > All: > > My app is attempting to attach a PDF to an email and I'm getting a failure. > The only response is: > > "Your request produced an error."

ERPDFGeneration problem & best practices

2012-09-21 Thread Tim Worman
All: My app is attempting to attach a PDF to an email and I'm getting a failure. The only response is: "Your request produced an error." The code below works fine in development but fails in deployment. I'm using ERJavaMail for sending. There is no stack trace, etc. My attempt to produce my P