[xwiki-users] Send email is not working?
I did set mail setting for sending the mails as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration. Then i icreated the page with mailTestingUtility given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail. But i get below error message A problem occurred while sending the mail. 2013-06-19 16:30:21,730 ERROR [ http://ing-wikvp001:8080/testEmail/bin/view/testWiki/test1] c.x.x.p.m.MailSenderPluginApi [MailSenderPluginApi.java:173] Failed to send email [From [no-reply@xwiki.com], To [scottmiles@Fiserv.com], Subject [TestMail], Text [Please get it]] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:275) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:156) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.jar:1.4] at com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlugin.java:712) ~[xwiki-platform-mailsender-3.5.jar:na] at com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:664) ~[xwiki-platform-mailsender-3.5.jar:na] at com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:650) ~[xwiki-platform-mailsender-3.5.jar:na] details i used for gmail server are:- SMTP SERVER = smtp.gmail.com PORT = 587 SMTP SERVER USERNAME (OPTIONAL) mine gmail address password:- mine password ADDITIONAL JAVAMAIL PROPERTIES= mail.smtp.starttls.enable=true i am on xwiki 3.5
Maybe add mail.smtp.auth=true ? Le 19 juin 2013 13:10, "Mohit Gupta" <motgupta@gmail.com> a écrit :
I did set mail setting for sending the mails as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration. Then i icreated the page with mailTestingUtility given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail. But i get below error message
A problem occurred while sending the mail. 2013-06-19 16:30:21,730 ERROR [ http://ing-wikvp001:8080/testEmail/bin/view/testWiki/test1] c.x.x.p.m.MailSenderPluginApi [MailSenderPluginApi.java:173] Failed to send email [From [no-reply@xwiki.com], To [scottmiles@Fiserv.com], Subject [TestMail], Text [Please get it]] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:275) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:156) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.jar:1.4] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlugin.java:712) ~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:664) ~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:650) ~[xwiki-platform-mailsender-3.5.jar:na] details i used for gmail server are:- SMTP SERVER = smtp.gmail.com PORT = 587 SMTP SERVER USERNAME (OPTIONAL) mine gmail address password:- mine password
ADDITIONAL JAVAMAIL PROPERTIES= mail.smtp.starttls.enable=true
i am on xwiki 3.5 _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Same exception On Wed, Jun 19, 2013 at 5:41 PM, Jeremie BOUSQUET < jeremie.bousquet@gmail.com> wrote:
Maybe add mail.smtp.auth=true ? Le 19 juin 2013 13:10, "Mohit Gupta" <motgupta@gmail.com> a écrit :
I did set mail setting for sending the mails as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration. Then i icreated the page with mailTestingUtility given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail. But i get below error message
A problem occurred while sending the mail. 2013-06-19 16:30:21,730 ERROR [ http://ing-wikvp001:8080/testEmail/bin/view/testWiki/test1] c.x.x.p.m.MailSenderPluginApi [MailSenderPluginApi.java:173] Failed to send email [From [no-reply@xwiki.com], To [scottmiles@Fiserv.com], Subject [TestMail], Text [Please get it]] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:275) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:156) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.jar:1.4] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlugin.java:712)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:664)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:650)
~[xwiki-platform-mailsender-3.5.jar:na] details i used for gmail server are:- SMTP SERVER = smtp.gmail.com PORT = 587 SMTP SERVER USERNAME (OPTIONAL) mine gmail address password:- mine password
ADDITIONAL JAVAMAIL PROPERTIES= mail.smtp.starttls.enable=true
i am on xwiki 3.5 _______________________________________________ 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
Note sure if XWiki mail module support TLS/SSL smtp. On Wed, Jun 19, 2013 at 2:15 PM, Mohit Gupta <motgupta@gmail.com> wrote:
Same exception
On Wed, Jun 19, 2013 at 5:41 PM, Jeremie BOUSQUET < jeremie.bousquet@gmail.com> wrote:
Maybe add mail.smtp.auth=true ? Le 19 juin 2013 13:10, "Mohit Gupta" <motgupta@gmail.com> a écrit :
I did set mail setting for sending the mails as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration. Then i icreated the page with mailTestingUtility given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail. But i get below error message
A problem occurred while sending the mail. 2013-06-19 16:30:21,730 ERROR [ http://ing-wikvp001:8080/testEmail/bin/view/testWiki/test1] c.x.x.p.m.MailSenderPluginApi [MailSenderPluginApi.java:173] Failed to send email [From [no-reply@xwiki.com], To [scottmiles@Fiserv.com], Subject [TestMail], Text [Please get it]] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:275) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:156) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.jar:1.4] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlugin.java:712)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:664)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:650)
~[xwiki-platform-mailsender-3.5.jar:na] details i used for gmail server are:- SMTP SERVER = smtp.gmail.com PORT = 587 SMTP SERVER USERNAME (OPTIONAL) mine gmail address password:- mine password
ADDITIONAL JAVAMAIL PROPERTIES= mail.smtp.starttls.enable=true
i am on xwiki 3.5 _______________________________________________ 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
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Jun 19, 2013, at 2:22 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Note sure if XWiki mail module support TLS/SSL smtp.
It does according to our doc, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HUsingGoog... Thanks -Vincent
On Wed, Jun 19, 2013 at 2:15 PM, Mohit Gupta <motgupta@gmail.com> wrote:
Same exception
On Wed, Jun 19, 2013 at 5:41 PM, Jeremie BOUSQUET < jeremie.bousquet@gmail.com> wrote:
Maybe add mail.smtp.auth=true ? Le 19 juin 2013 13:10, "Mohit Gupta" <motgupta@gmail.com> a écrit :
I did set mail setting for sending the mails as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration. Then i icreated the page with mailTestingUtility given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail. But i get below error message
A problem occurred while sending the mail. 2013-06-19 16:30:21,730 ERROR [ http://ing-wikvp001:8080/testEmail/bin/view/testWiki/test1] c.x.x.p.m.MailSenderPluginApi [MailSenderPluginApi.java:173] Failed to send email [From [no-reply@xwiki.com], To [scottmiles@Fiserv.com], Subject [TestMail], Text [Please get it]] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:275) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:156) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.jar:1.4] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlugin.java:712)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:664)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:650)
~[xwiki-platform-mailsender-3.5.jar:na] details i used for gmail server are:- SMTP SERVER = smtp.gmail.com PORT = 587 SMTP SERVER USERNAME (OPTIONAL) mine gmail address password:- mine password
ADDITIONAL JAVAMAIL PROPERTIES= mail.smtp.starttls.enable=true
i am on xwiki 3.5
Hi! Check if "Admin E-mail" is empty. If yes, put smth in there. If it is a case, it was fixed in 4.x. Kind Regards Dmitry Среда, 19 июня 2013, 17:45 +05:30 от Mohit Gupta <motgupta@gmail.com>:
Same exception
On Wed, Jun 19, 2013 at 5:41 PM, Jeremie BOUSQUET < jeremie.bousquet@gmail.com > wrote:
Maybe add mail.smtp.auth=true ? Le 19 juin 2013 13:10, "Mohit Gupta" < motgupta@gmail.com > a écrit :
I did set mail setting for sending the mails as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration . Then i icreated the page with mailTestingUtility given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail . But i get below error message
A problem occurred while sending the mail. 2013-06-19 16:30:21,730 ERROR [ http://ing-wikvp001:8080/testEmail/bin/view/testWiki/test1 ] c.x.x.p.m.MailSenderPluginApi [MailSenderPluginApi.java:173] Failed to send email [From [no-reply@xwiki.com], To [scottmiles@Fiserv.com], Subject [TestMail], Text [Please get it]] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:275) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:156) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.jar:1.4] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlugin.java:712)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:664)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:650)
~[xwiki-platform-mailsender-3.5.jar:na] details i used for gmail server are:- SMTP SERVER = smtp.gmail.com PORT = 587 SMTP SERVER USERNAME (OPTIONAL) mine gmail address password:- mine password
ADDITIONAL JAVAMAIL PROPERTIES= mail.smtp.starttls.enable=true
i am on xwiki 3.5 _______________________________________________ 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
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Kind regards, Dmitry
there is already an entry against Admin E-mail field. I am on xwiki 3.5. To me it looks like xwiki is not able to gmail server at given port as below error says javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] On Wed, Jun 19, 2013 at 6:04 PM, Dmitry Bakbardin <haru_mamburu@mail.ru>wrote:
Hi!
Check if "Admin E-mail" is empty. If yes, put smth in there. If it is a case, it was fixed in 4.x.
Kind Regards
Dmitry
Среда, 19 июня 2013, 17:45 +05:30 от Mohit Gupta <motgupta@gmail.com>:
Same exception
On Wed, Jun 19, 2013 at 5:41 PM, Jeremie BOUSQUET < jeremie.bousquet@gmail.com > wrote:
Maybe add mail.smtp.auth=true ? Le 19 juin 2013 13:10, "Mohit Gupta" < motgupta@gmail.com > a écrit :
I did set mail setting for sending the mails as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration . Then i icreated the page with mailTestingUtility given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail . But i get below error message
A problem occurred while sending the mail. 2013-06-19 16:30:21,730 ERROR [ http://ing-wikvp001:8080/testEmail/bin/view/testWiki/test1 ] c.x.x.p.m.MailSenderPluginApi [MailSenderPluginApi.java:173] Failed to send email [From [no-reply@xwiki.com], To [scottmiles@Fiserv.com], Subject [TestMail], Text [Please get it]] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:275) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:156) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.jar:1.4] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlugin.java:712)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:664)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:650)
~[xwiki-platform-mailsender-3.5.jar:na] details i used for gmail server are:- SMTP SERVER = smtp.gmail.com PORT = 587 SMTP SERVER USERNAME (OPTIONAL) mine gmail address password:- mine password
ADDITIONAL JAVAMAIL PROPERTIES= mail.smtp.starttls.enable=true
i am on xwiki 3.5 _______________________________________________ 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
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Guys it was websense issue which was not allowing me to connect me to gmail server. I tried official mail server. It worked like charm. Thanks for your valuable thoughts. On Wed, Jun 19, 2013 at 7:50 PM, Mohit Gupta <motgupta@gmail.com> wrote:
there is already an entry against Admin E-mail field. I am on xwiki 3.5. To me it looks like xwiki is not able to gmail server at given port as below error says
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4]
On Wed, Jun 19, 2013 at 6:04 PM, Dmitry Bakbardin <haru_mamburu@mail.ru>wrote:
Hi!
Check if "Admin E-mail" is empty. If yes, put smth in there. If it is a case, it was fixed in 4.x.
Kind Regards
Dmitry
Среда, 19 июня 2013, 17:45 +05:30 от Mohit Gupta <motgupta@gmail.com>:
Same exception
On Wed, Jun 19, 2013 at 5:41 PM, Jeremie BOUSQUET < jeremie.bousquet@gmail.com > wrote:
Maybe add mail.smtp.auth=true ? Le 19 juin 2013 13:10, "Mohit Gupta" < motgupta@gmail.com > a écrit :
I did set mail setting for sending the mails as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration. Then i icreated the page with mailTestingUtility given at http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail . But i get below error message
A problem occurred while sending the mail. 2013-06-19 16:30:21,730 ERROR [ http://ing-wikvp001:8080/testEmail/bin/view/testWiki/test1 ] c.x.x.p.m.MailSenderPluginApi [MailSenderPluginApi.java:173] Failed to send email [From [no-reply@xwiki.com], To [scottmiles@Fiserv.com], Subject [TestMail], Text [Please get it]] javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) ~[mail-1.4.jar:1.4] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:275) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:156) ~[mail-1.4.jar:1.4] at javax.mail.Service.connect(Service.java:176) ~[mail-1.4.jar:1.4] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMails(MailSenderPlugin.java:712)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:664)
~[xwiki-platform-mailsender-3.5.jar:na] at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMail(MailSenderPlugin.java:650)
~[xwiki-platform-mailsender-3.5.jar:na] details i used for gmail server are:- SMTP SERVER = smtp.gmail.com PORT = 587 SMTP SERVER USERNAME (OPTIONAL) mine gmail address password:- mine password
ADDITIONAL JAVAMAIL PROPERTIES= mail.smtp.starttls.enable=true
i am on xwiki 3.5 _______________________________________________ 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
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (5)
-
Dmitry Bakbardin -
Jeremie BOUSQUET -
Mohit Gupta -
Thomas Mortagne -
Vincent Massol