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 protected]> a écrit :
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]