Changes for page Mail Application

Last modified by Admin on 2024/03/25 17:04

<
From version < 8.1 >
edited by Vincent Massol
on 2014/12/18 16:19
To version < 9.1 >
edited by Vincent Massol
on 2014/12/18 16:37
>
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -6,18 +6,39 @@
6 6  
7 7  {{image reference='emailcategory.png'/}}
8 8  
9 -The following can be configured:
10 -* Whether mail are displayed obfuscated or not in the UI(((
9 += Mail Obfuscation =
10 +
11 11  {{image reference='emailgeneral.png'/}}
12 12  
13 13  If turned on, the mails are displayed obfuscated, for example in the User's profile page:
14 14  
15 15  {{image reference='emailobfuscateprofile.png'/}}
16 -)))
17 -* The mail sending parameters (SMTP server, port, username, password, etc)(((
16 +
17 += Mail Sending =
18 +
19 +Mail sending parameters:
20 +
18 18  {{image reference='emailsend.png'/}}
19 -)))
20 20  
23 +The Additional Properties fields allow passing [[JavaMail configuration properties>>https://javamail.java.net/nonav/docs/api/]]. Here are some common ones:
21 21  
25 +|= Option|=Description|=Examples
26 +|##mail.smtp.localhost##|Local host name used in the SMTP HELO or EHLO command. Defaults to ##InetAddress.getLocalHost().getHostName()##. Should not normally need to be set if your JDK and your name service are configured properly.|##mail.smtp.localhost=yourhostname.com##
27 +|##mail.smtp.auth##|If true, attempt to authenticate the user using the AUTH command. Defaults to false. If you specify a username and a password, XWiki will set this property automatically for you|##mail.smtp.auth=true##
28 +|##mail.smtp.starttls.enable##|If true, enables the use of the STARTTLS command (if supported by the server) to switch the connection to a TLS-protected connection before issuing any login commands. Note that an appropriate trust store must be configured so that the client trusts the server's certificate. Defaults to false. |##mail.smtp.starttls.enable=true##
22 22  
30 +== Using Google SMTP server ==
23 23  
32 +For testing purposes, you can use your own GMail account as a SMTP server:
33 +
34 +|=property|=value
35 +|server|##smtp.gmail.com##
36 +|port|##587##
37 +|username|##[email protected]##
38 +|password|##yourpassword##
39 +|JavaMail properties|##mail.smtp.starttls.enable=true##
40 +
41 +{{warning}}
42 +**Never** use Gmail in production, in place of a real SMTP server, since this could get your account blocked, and your personal email appears as the sender in Outlook and other email clients.
43 +{{/warning}}
44 +

Get Connected