Hi All,
I have install "Send mail to Page" plugin and configuration, but when I click "Test Configuration" , I got a error: ???
and I check the catalina.out, the below is the error:
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
at java.net.Socket.connect(Socket.java:546)
at java.net.Socket.connect(Socket.java:495)
at sun.net.NetworkClient.doConnect(NetworkClient.java:178)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:409)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:530)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:240)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.http.HttpClient.New(HttpClient.java:338)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)
at biz.artemissoftware.confluence.sendemailtopage.EMailUtils.connectToURLAndRetrieve(EMailUtils.java:295)
at biz.artemissoftware.confluence.sendemailtopage.SendEmailToPageAdmin.getStatusServer(SendEmailToPageAdmin.java:382)
at sun.reflect.GeneratedMethodAccessor1683.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:33)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.Template.merge(Template.java:328)
at org.apache.velocity.Template.merge(Template.java:235)
.....
Hmm. Does https work with mail server? Have you tried just using the ip address of your email sever in case it is the dns server not being available? I am slso assuming your password is correct.
I have resolve this issue. the root cause is my server hosts files configuration error.
and now I have an other question,I don't understand this means:
Example 3 - Adding comments to a page:
Preconditions:
a page named "My New Page" already exists in the space spkey
Email Details:
To: my.account+spkey+My+New+Page@gmail.com
Subject: re: Subject Of My New Page
Body: some comment about this topic
I don''t know what format of this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! I can sure hostname and protocol was right. I can ping and telnet the mail server and port. and I have use these mail server on my other website, it's ok.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are either using the wrong protocol, wrong hostname or your paticular host cannot reach your dns server. Please check with your system/mail administrator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.