Dear Benjamin,
You may need to start looking by file DemoProduct.xml.
<ProductStoreEmailSetting productStoreId="9000"
emailType="PRDS_ODR_CONFIRM"
bodyScreenLocation="component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice"
xslfoAttachScreenLocation="component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNoticePdf"
subject="OFBiz Demo - Order Confirmation #${orderId}" bccAddress="
[email protected]" fromAddress="[email protected]"/>
See the "xslfoAttachScreenLocation" field of the ProductStoreEmailSetting
table. This field contains the location of Screen definition and that screen
definition contains the *.fo.ftl file in general. And *.fo.ftl is nothing
but the PDF that goes with the email.
You can search code by email type "PRDS_ODR_CONFIRM". You will see the
relevant code and would be able to find your way.
The other important services that play important role are
"sendMailFromScreen" & "sendEmail".
Please trace the code for this services and let us know if you are unable to
understand the flow.
Rest comments inline :
--
Ashish
On Fri, Apr 17, 2009 at 8:36 PM, benni23 <[email protected]>wrote:
>
> Hi,
>
> I have set up Ofbiz with SMTP relay and mail notification enabled. I
> receive
> email notifications for order placed in ecommerce and when the order is
> invoiced/shipped. I also receive an email if I request a new password for
> my
> ecommerce login.
>
> Unfortunately, I do not receive an email when I subscribe to a newsletter
> or
> when I create an email communication event in the partymgr application. Did
> I miss to configure something here? Are there any pitfalls?
Please try to find out the reason by tracing the code (if you are a
developer). I haven't tested it but you can figure out the issue with the
help of details I provided above. After doing enough R&D if you don't get
the way to solution then write email, me or someone else will help you to
figure out the problem. FYI if you have done right settings for SMTP and you
are getting emails for Order_Confirmation then you are fine.
>
> Furthermore, I would like to know how I can get Ofbiz to attach the
> generated invoice (PDF) to the mail that informs the customer that his
> order
> has been invoiced and shipped.
>
> regards,
> Benjamin
> --
> View this message in context:
> http://www.nabble.com/Email-communication-events-tp23099485p23099485.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>