Order email notification: PDF attachment is not attached

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Order email notification: PDF attachment is not attached

biletnikov
Hello, I configure the order notification attachments for OFBiz 10.04, but have some problems - the mail notification is received, but without any attachments. Body Screen Location: directs to my screen and it works fine. The Attachment Screen Location (XSL-FO) : component://order/widget/ordermgr/OrderPrintScreens.xml#OrderPDF I see no error messages, and tried to debug the mail sending process a little bit: public static Map<String, Object> sendMail(DispatchContext ctx, Map<String, ? extends Object> context) { ..... } the context variable bodyParts is null, but as I see it must be used for the attachments, but I'm not sure. is it required to enable the attachments anywhere? What is wrong? Thanks!
Kind regards,
Sergei
Reply | Threaded
Open this post in threaded view
|

Re: Order email notification: PDF attachment is not attached

Jacques Le Roux-3
Please use rather user ML for such questions, see why here :
http://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists#MailingLists-DesignanddevelopmentList:dev@...

Thanks

Jacques

biletnikov wrote:

> Hello,
>
> I configure the order notification attachments for OFBiz 10.04, but have
> some problems - the mail notification is received, but without any
> attachments.
>
> Body Screen Location: directs to my screen and it works fine.
> The Attachment Screen Location (XSL-FO) :
> component://order/widget/ordermgr/OrderPrintScreens.xml#OrderPDF
>
> I see no error messages, and tried to debug the mail sending process a
> little bit:
>
> public static Map&lt;String, Object&gt; sendMail(DispatchContext ctx,
> Map&lt;String, ? extends Object&gt; context) {
> .....
> }
>
> the context variable bodyParts is null, but as I see it must be used for the
> attachments, but I'm not sure.
>
> is it required to enable the attachments anywhere?
> What is wrong?
>
> Thanks!