aneesh-joseph / openreportv2

Automatically exported from code.google.com/p/openreportv2
0 stars 0 forks source link

problem sending report to gmail #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to configure the email server using gmail
2. Run a report using the scheduling option/
3. You will see that the report doesnt reach your inbox and in the log it 
appears a delivery failure error.

What is the expected output? What do you see instead?
An email with the report. Intead we can see the following error 
"org.efs.openreports.delivery.DeliveryException: 530 5.7.0 Must issue a 
STARTTLS command first. ph10sm3600468pbc.55" in the log

What version of the product are you using? On what operating system?
War Version download on june 1st 2012. Linux Centos 6.2

Please provide any additional information below.
It seems that there is a problem with the usage of java mail api with gmail.

Original issue reported on code.google.com by caherrer...@gmail.com on 5 Jun 2012 at 5:39

GoogleCodeExporter commented 9 years ago
will need to check why its not working. i have been using our Company's mail 
servers and its working fine.

can you pls let me know if gmail authentication is enabled when configuring the 
mail settings.

Original comment by kira...@gmail.com on 16 Jun 2012 at 12:47

GoogleCodeExporter commented 9 years ago
yes it is enabled. i downloaded the source code available in the repository but 
it doesnt compile with the jasperreports version. i remember to have fixed that 
before but the source code was based on the old jasper reports and is that 
modification is lost. It seems a problem with Transport as far as i remember

Original comment by caherrer...@gmail.com on 16 Jun 2012 at 12:50

GoogleCodeExporter commented 9 years ago
all the libraries needed are in the lib folder of the source code, you shouldnt 
have any problem. 

anyways will check the code and update on the emailing issue.

Original comment by kira...@gmail.com on 16 Jun 2012 at 12:57

GoogleCodeExporter commented 9 years ago
I fixed locally how can i share the patches? i added the configuration for TLS 
in the admin parameters and mail provider, so it can be configured through the 
web interface. It s only needed to add two params in the OR_PROPERTIES table 

Original comment by caherrer...@gmail.com on 17 Jun 2012 at 5:26

Attachments:

GoogleCodeExporter commented 9 years ago
This is the correct patch for this issue. I tested on production environment 
CentOS 6.2 jdk 6 and is working properly.

Original comment by caherrer...@gmail.com on 17 Jun 2012 at 8:28

Attachments:

GoogleCodeExporter commented 9 years ago
thanks for the patch.

will update the codebase and test and commit.

Original comment by kira...@gmail.com on 23 Jun 2012 at 3:19

GoogleCodeExporter commented 9 years ago

Original comment by kira...@gmail.com on 23 Jun 2012 at 3:20

GoogleCodeExporter commented 9 years ago
code changes have been updated into the source control

Original comment by kira...@gmail.com on 11 Oct 2012 at 4:28