When I create a new user and click on ' Send test Email ' . It throws an exception ' Failed to send email titled "Mango test email" to "preeti.patankar@rediffmail.com". Message: "Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect" ' .I open the Email settings in System settings but I dont know what I can enter in SMTP host and From address . Any help ? Also should I check the Enable TLS box ? What is it used for ?
Posts made by preeti
-
Email Settings
-
RE: Email Settings
When I create a new user and click on ' Send test Email ' . It throws an exception ' Failed to send email titled "Mango test email" to "preeti.patankar@rediffmail.com". Message: "Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect" ' .I open the Email settings in System settings but I dont know what I can enter in SMTP host and From address . Any help ? Also should I check the Enable TLS box ? What is it used for ?
-
RE: How to get data from java application ?
Thanks Matthew .
I am using Publisher feature from one Mango instance running on my machine to send some static data ( a = 10) to another Mango instance using HTTP Receiver datasource running on my machine . Here both the publisher and receiver are on same ip address.In HTTP sender properties I mention http://<ip address>:port/test/httpds . On HTTP Receiver side on clicking HTTP Receiver Listener I can see :
Source : ip address
Device id :
Time :
a= 10
b=10 .I want the same data in tabular format ( a jsp file) . How can I do it ?
I can very well write a jsp page , but where in source code should I plug this page ? Also , data is received at httpds . Where is this httpds in source code ? Can I get it and simply put my jsp in its place ? -
RE: How to get data from java application ?
I am using Publisher feature on my machine . In HTTP sender properties I mention the GET method , in the URL , I mention the ip address of the machine where I am sending the data . In static parameters I mention key value as a and 10 resp . Then I click on ' send static parameters ' . I see the message ' ERROR: Connection refused: connect ' .
The machine where I am publishing this data, I configure HTTP Receiver datasource and give ip address of my machine from where I am using Publisher feature .
From the error message I think it is port problem . Are the ports where Mango publishes information hard-coded in some file ? I would like to see that file so that I can change the ports where it is publishing data ; in case those ports are blocked to receiving machine as per company policies -
RE: How to get data from java application ?
I was thinking , if I open several sites and then if i start HTTP Receiver Listener then the listener box should show the sites I am currently browsing as per ' Testing with the HTTP receiver listener ' documentation . But I see no data in the listener box . I have now figured out HTTP Receiver datasource " listens " data only when it is send in prescribed ( as prescribed in documentation format .
Do you know any application which sends HTTP data in Mango's HTTP Receiver specific format ? It will be helpful for me for quick testing and also I can build my application to send data in that format .
Any help ? -
RE: How to get data from java application ?
Yeah . I understand that there is certain format to be followed while delivering the request . I have read the documentation on Http receiver listener .
I am following the ' Testing with HTTP receiver listener ' from the Http Receiver Listener datasource help documentation .
When I mention ... in Remote IP white list and * in device id white list and click on Listen for HTTP data in HTTP receiver listener box , I still see no output . I should see the sites I have opened and stuff . But I can see nothing . Can you please tell me what is going wrong ?
-
How to get data from java application ?
Hi ,
This is Preeti from India .
I have installed Mango on my machine . I have a simple java application running on another machine which is a client server program ( in Eclipse) which retrieves CPU details . I want to get output of this program in Mango which I installed on my machine . I click on 'datasource' , in 'Remote IP white list ' I mention the ip address of machine which runs this java application and I click on ' Listen for HTTP data ' . But I see no output .
Can anyone tell me what I should do in order to receive the output of java application in Mango on my machine ?Many Thanks ,
Preeti -
RE: How to get data from java application ?
Hi ,
This is Preeti from India .
I have installed Mango on my machine . I have a simple java application running on another machine which is a client server program ( in Eclipse) which retrieves CPU details . I want to get output of this program in Mango which I installed on my machine . I click on 'datasource' , in 'Remote IP white list ' I mention the ip address of machine which runs this java application and I click on ' Listen for HTTP data ' . But I see no output .
Can anyone tell me what I should do in order to receive the output of java application in Mango on my machine ?Many Thanks ,
Preeti