• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERPDFGeneration tutorial
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERPDFGeneration tutorial


  • Subject: Re: ERPDFGeneration tutorial
  • From: Paul Yu <email@hidden>
  • Date: Wed, 07 Dec 2011 07:32:35 -0500

Raymond

I have not done this in a complete loop, so you will need to experiment.

But the basic process would be something like this.

1)  Do the PDF generation, but return the response into an NSData
2)  Then follow the pattern in Pascal's link to put the NSData as content on the

 message.addAttachment(new ERMailDataAttachment("myattachment.pdf", null, content));

Paul
On Dec 7, 2011, at 7:11 AM, Pascal Robert wrote:

> Have a look at ERJavaMail, you can send attachments with it.
>
> http://wiki.objectstyle.org/confluence/display/WO/Project+WONDER-Frameworks-ERJavaMail
>
>> Hi Paul,
>>
>> I would like to get the pdf file and sent it directly by mail with a method. How can I get the the file in the pdfReport component?
>>
>> Thanks for your help.
>>
>> Envoyé depuis iCloud
>>
>> Le 17 nov 2011 à 07:06, Paul Yu <email@hidden> a écrit :

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERPDFGeneration tutorial
      • From: "pavan.jayam" <email@hidden>
References: 
 >Rép : Re: ERPDFGeneration tutorial (From: Raymond NANEON <email@hidden>)
 >Re: ERPDFGeneration tutorial (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: ERPDFGeneration tutorial
  • Next by Date: Re: ERPDFGeneration tutorial
  • Previous by thread: Re: ERPDFGeneration tutorial
  • Next by thread: Re: ERPDFGeneration tutorial
  • Index(es):
    • Date
    • Thread