[xwiki-devs] Re gistering user using a validation mail (problem)
Hi, There is a functionality in xwiki user registration module where we can send a validation key to the user account. For the xwiki registration tab as provided two settings: 1. from email address 2. smpt server address from which the mail is to be sent. Now most smtp server require some authentication on their machine, that would mostly be the user name/password of the from email address. There are no such settings provided under the registration tab. My question is are additional settings needed, if yes then how can one add the same. Currently i get the following error when trying to send the validation mail: com.xpn.xwiki.XWikiException: Error number 10006 in 10: Could not send mail to server 199.237.236.4 port 25 error code 530 (530 authentication required for relay (#5.7.1) ) at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2981) at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3015) at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2924) at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2883) at com.xpn.xwiki.XWiki.createUser(XWiki.java:2833) at com.xpn.xwiki.web.RegisterAction.action(RegisterAction.java:41) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:187) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
From stack trace it does seem that authentication is required. So how can I get that done via xwiki.
Please help. Thanks Sachin ----- http://www.assembla.com/wiki/show/sachin_mittal about me: -- View this message in context: http://www.nabble.com/Registering-user-using-a-validation-mail-%28problem%29... Sent from the XWiki- Dev mailing list archive at Nabble.com.
please stop spamming the list... I know we had problems with our mailing list but there's no need to resend email. All emails you send will eventually appear... Thanks -Vincent On Feb 12, 2008, at 4:57 PM, Sachin Mittal wrote:
Hi, There is a functionality in xwiki user registration module where we can send a validation key to the user account. For the xwiki registration tab as provided two settings: 1. from email address 2. smpt server address from which the mail is to be sent.
Now most smtp server require some authentication on their machine, that would mostly be the user name/password of the from email address.
There are no such settings provided under the registration tab. My question is are additional settings needed, if yes then how can one add the same.
Currently i get the following error when trying to send the validation mail: com.xpn.xwiki.XWikiException: Error number 10006 in 10: Could not send mail to server 199.237.236.4 port 25 error code 530 (530 authentication required for relay (#5.7.1) ) at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2981) at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3015) at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2924) at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2883) at com.xpn.xwiki.XWiki.createUser(XWiki.java:2833) at com.xpn.xwiki.web.RegisterAction.action(RegisterAction.java:41) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:187) at org .apache .struts .action.RequestProcessor.processActionPerform(RequestProcessor.java: 431) at org .apache.struts.action.RequestProcessor.process(RequestProcessor.java: 236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java: 1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java: 432)
From stack trace it does seem that authentication is required. So how can I get that done via xwiki.
Please help.
Thanks Sachin
----- http://www.assembla.com/wiki/show/sachin_mittal about me: -- View this message in context: http://www.nabble.com/Registering-user-using-a-validation-mail-%28problem%29... Sent from the XWiki- Dev mailing list archive at Nabble.com.
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Just to update this thread. I write a small java send mail client and I was able to send message using same from email address and smpt address. I have checked the xwiki code that sends mail and the difference between my client and that code is that I was authenticating the from email address first. So let me know how can I provide authentication details in the user registration settings. Thanks Sachin Sachin Mittal wrote:
Hi, There is a functionality in xwiki user registration module where we can send a validation key to the user account. For the xwiki registration tab as provided two settings: 1. from email address 2. smpt server address from which the mail is to be sent.
Now most smtp server require some authentication on their machine, that would mostly be the user name/password of the from email address.
There are no such settings provided under the registration tab. My question is are additional settings needed, if yes then how can one add the same.
Currently i get the following error when trying to send the validation mail: com.xpn.xwiki.XWikiException: Error number 10006 in 10: Could not send mail to server 199.237.236.4 port 25 error code 530 (530 authentication required for relay (#5.7.1) ) at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:2981) at com.xpn.xwiki.XWiki.sendMessage(XWiki.java:3015) at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2924) at com.xpn.xwiki.XWiki.sendValidationEmail(XWiki.java:2883) at com.xpn.xwiki.XWiki.createUser(XWiki.java:2833) at com.xpn.xwiki.web.RegisterAction.action(RegisterAction.java:41) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:187) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
From stack trace it does seem that authentication is required. So how can I get that done via xwiki.
Please help.
Thanks Sachin
----- http://www.assembla.com/wiki/show/sachin_mittal about me: -- View this message in context: http://www.nabble.com/Registering-user-using-a-validation-mail-%28problem%29... Sent from the XWiki- Dev mailing list archive at Nabble.com.
participants (2)
-
Sachin Mittal -
Vincent Massol