Re: [xwiki-users] Email system in xwiki

2009-04-01 Thread Sergiu Dumitriu
Chris Ellis wrote:
 Is it possible for xwiki to simply use the local server php email system
 without need of configuration?
 
 The smtp option is useless because these days most organisations use smtp
 servers requiring authentication and xwiki is not offering this at present
 (an essential IMHO)

XWiki DOES support SMTP authentication.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Email system in xwiki

2009-04-01 Thread Chris Ellis
I'm glad to hear it - it's proving to be a deal breaker, otherwise for my
College.

Care to enlighten me as to how one configures the SMTP username:password?

Cheers

Chris

On Wed, Apr 1, 2009 at 9:52 PM, Sergiu Dumitriu ser...@xwiki.com wrote:

 Chris Ellis wrote:
  Is it possible for xwiki to simply use the local server php email system
  without need of configuration?
 
  The smtp option is useless because these days most organisations use smtp
  servers requiring authentication and xwiki is not offering this at
 present
  (an essential IMHO)

 XWiki DOES support SMTP authentication.

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Email system in xwiki

2009-04-01 Thread twk3

The sendmail plugin supports smtp authentication as of June 2008. In order to 
use it you will need to add the two properties to your XWikiPreferences page. 
See: http://jira.xwiki.org/jira/browse/XPMAIL-10

If you open your XWikiPreferences in the class editor, you can use the box on 
the right to add the two string properties smtp_server_username and 
smtp_server_password. Add them as strings, and don't worry about the property 
configuration for them, the default should be fine. 

Now open XWikiPreferences in the object editor, and you will have to make sure 
you then expand the XWikiPreferences collapsed menu. At the bottom of that menu 
you will see the two new text fields for your smtp user name and password.


I'm glad to hear it - it's proving to be a deal breaker, otherwise for my
College.

Care to enlighten me as to how one configures the SMTP username:password?

Cheers

Chris

On Wed, Apr 1, 2009 at 9:52 PM, Sergiu Dumitriu ser...@xwiki.com wrote:

 Chris Ellis wrote:
  Is it possible for xwiki to simply use the local server php email system
  without need of configuration?
 
  The smtp option is useless because these days most organisations use smtp
  servers requiring authentication and xwiki is not offering this at
 present
  (an essential IMHO)

 XWiki DOES support SMTP authentication.

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



-- 
View this message in context: 
http://n2.nabble.com/Email-system-in-xwiki-tp2566794p2570855.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Email system in xwiki

2009-04-01 Thread Chris Ellis
Thanks twk3

That seems to have done the job - when I register as a new user I receive an
email.

The email template has this:

This email address was used to register a new account on ${wikiname}. If you
did not make the request, please ignore this message.

In order to activate your account, please follow this link:
$xwiki.getDocument(XWiki.AccountValidation).getExternalURL(view,
validkey=${validkey}xwikiname=${xwikiname})

Where/how do I edit this template so that it presents as a URL?

Cheers


On Thu, Apr 2, 2009 at 5:36 AM, twk3 david.mount...@carbonetworks.comwrote:


 The sendmail plugin supports smtp authentication as of June 2008. In order
 to use it you will need to add the two properties to your XWikiPreferences
 page. See: http://jira.xwiki.org/jira/browse/XPMAIL-10

 If you open your XWikiPreferences in the class editor, you can use the box
 on the right to add the two string properties smtp_server_username and
 smtp_server_password. Add them as strings, and don't worry about the
 property configuration for them, the default should be fine.

 Now open XWikiPreferences in the object editor, and you will have to make
 sure you then expand the XWikiPreferences collapsed menu. At the bottom of
 that menu you will see the two new text fields for your smtp user name and
 password.


 I'm glad to hear it - it's proving to be a deal breaker, otherwise for my
 College.

 Care to enlighten me as to how one configures the SMTP username:password?

 Cheers

 Chris

 On Wed, Apr 1, 2009 at 9:52 PM, Sergiu Dumitriu ser...@xwiki.com wrote:

  Chris Ellis wrote:
   Is it possible for xwiki to simply use the local server php email
 system
   without need of configuration?
  
   The smtp option is useless because these days most organisations use
 smtp
   servers requiring authentication and xwiki is not offering this at
  present
   (an essential IMHO)
 
  XWiki DOES support SMTP authentication.
 
  --
  Sergiu Dumitriu
  http://purl.org/net/sergiu/
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



 --
 View this message in context:
 http://n2.nabble.com/Email-system-in-xwiki-tp2566794p2570855.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Email system in xwiki

2009-04-01 Thread twk3


That seems to have done the job - when I register as a new user I receive an
email.

The email template has this:

This email address was used to register a new account on ${wikiname}. If you
did not make the request, please ignore this message.

In order to activate your account, please follow this link:
$xwiki.getDocument(XWiki.AccountValidation).getExternalURL(view,
validkey=${validkey}xwikiname=${xwikiname})


So the email you recieved did not contain the url, it instead contained this 
velocity code?


Where/how do I edit this template so that it presents as a URL?


The template is located under XWiki.XWikiPreferences in the Registration area.

You should have User Email Verification set to Yes and the Validation e-Mail 
Content Text area should contain: 

#set($wikiurl = $xwiki.getDocument(Main.WebHome).getExternalURL())
#set($wikiname = $wikiurl.substring($wikiurl.indexOf(//)))
#set($wikiname = $wikiname.substring(2, $wikiname.indexOf(/, 3)))
Subject: Validate your account on $wikiname

Hello $xwiki.getUserName(XWiki.$xwikiname, false),

This email address was used to register a new account on ${wikiname}. If you 
did not make the request, please ignore this message.

In order to activate your account, please follow this link:
$xwiki.getDocument(XWiki.AccountValidation).getExternalURL(view, 
validkey=${validkey}xwikiname=${xwikiname})


when sent, the urls and wiki names should show up. After checking this, do you 
still have the problem?
-- 
View this message in context: 
http://n2.nabble.com/Email-system-in-xwiki-tp2566794p2572039.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Email system in xwiki

2009-04-01 Thread Chris Ellis
Yeah - checked as you suggested:

Still getting:

This email address was used to register a new account on ${wikiname}. If you
did not make the request, please ignore this message.

In order to activate your account, please follow this link:
$xwiki.getDocument(XWiki.AccountValidation).getExternalURL(view,
validkey=${validkey}xwikiname=${xwikiname})

Where is ${wikiname} defined?


On Thu, Apr 2, 2009 at 9:44 AM, twk3 david.mount...@carbonetworks.comwrote:



 That seems to have done the job - when I register as a new user I receive
 an
 email.

 The email template has this:

 This email address was used to register a new account on ${wikiname}. If
 you
 did not make the request, please ignore this message.

 In order to activate your account, please follow this link:
 $xwiki.getDocument(XWiki.AccountValidation).getExternalURL(view,
 validkey=${validkey}xwikiname=${xwikiname})


 So the email you recieved did not contain the url, it instead contained
 this velocity code?


 Where/how do I edit this template so that it presents as a URL?


 The template is located under XWiki.XWikiPreferences in the Registration
 area.

 You should have User Email Verification set to Yes and the Validation
 e-Mail Content Text area should contain:
 
 #set($wikiurl = $xwiki.getDocument(Main.WebHome).getExternalURL())
 #set($wikiname = $wikiurl.substring($wikiurl.indexOf(//)))
 #set($wikiname = $wikiname.substring(2, $wikiname.indexOf(/, 3)))
 Subject: Validate your account on $wikiname

 Hello $xwiki.getUserName(XWiki.$xwikiname, false),

 This email address was used to register a new account on ${wikiname}. If
 you did not make the request, please ignore this message.

 In order to activate your account, please follow this link:
 $xwiki.getDocument(XWiki.AccountValidation).getExternalURL(view,
 validkey=${validkey}xwikiname=${xwikiname})
 

 when sent, the urls and wiki names should show up. After checking this, do
 you still have the problem?
 --
 View this message in context:
 http://n2.nabble.com/Email-system-in-xwiki-tp2566794p2572039.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users