On 01/20/2010 02:43 PM, Arnaud bourree wrote:
Hello
2010/1/20 Sergiu Dumitriu<[email protected]>:
On 01/20/2010 12:34 PM, Thomas Mortagne wrote:
On Wed, Jan 20, 2010 at 12:01, Jeremie BOUSQUET <[email protected]> wrote:
Ok thanks, for the issue I will, but I want to check before that it's the case on a fresh 2.1.1 install (because mine is the result of numerous migrations, and I never re-imported the preferences page, so maybe it has been corrected meanwhile in xwiki).
Note that i think it's possible you can change it yourself in the class even if it's not yet fixed in standard (which I doubt).
Go to the preference class editor (/xwiki/bin/edit/XWiki/XWikiPreferences?editor=class), rename the current smtp_server_password field and create a new one as smtp_server_password but this time using Password as TYPE. Then you should have a password field where you can put your password for SMTP.
Very important: the storage type for this field MUST be "clear", since otherwise the mailsender won't be able to read the password.
Could the mailsender used targeted user credencial or smtp_server_user/password properties in targeted user object?
Out of the box, no, but you could adapt the code. -- Sergiu Dumitriu http://purl.org/net/sergiu/