Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

mail.templateRoot is not considered

$
0
0
hi,

the parameter "mail.templateRoot" (found here: http://www.smartclient.com/smartgwtee/server/javadoc/com/isomorphic/mail/MailMessage.html) in the server.properties is not considered.

server.properties:
Code:

# Base mail template directory
mail.templateRoot: $webRoot/mailTemplates

I get a "java.io.FileNotFoundException" exception if I do NOT specify the fully qualified templateFile.

did not work (snippet from ..ds.xml):
Code:

<mail
to="xxx@xyz.com"
from="yyy@xyz.com"
subject="Password Request (SmartClient Secure Application Example)"
templateFile="tmp1">
</mail>

did work (snippet from ..ds.xml):
Code:

<mail
to="xxx@xyz.com"
from="yyy@xyz.com"
subject="Password Request (SmartClient Secure Application Example)"
templateFile="mailTemplates/tmp1">
</mail>

Is this a bug or a mistake in the documentation?

i used: SNAPSHOT_v9.0d_2013-05-16/PowerEdition Deployment 2013-05-16

best regards,
mirko

Viewing all articles
Browse latest Browse all 4756

Trending Articles