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:
, 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(a)mail.ru>wrote;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(a)gmail.com>om>:
Same exception
On Wed, Jun 19, 2013 at 5:41 PM, Jeremie BOUSQUET <
jeremie.bousquet(a)gmail.com > wrote:
> Maybe add mail.smtp.auth=true ?
> Le 19 juin 2013 13:10, "Mohit Gupta" < motgupta(a)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(a)xwiki.com], To [scottmiles(a)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(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Kind regards,
Dmitry
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users