You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Hi Team,
I am using ReportServer in UAT environment. Used the same configuration as in DEV Environment but couldn't send mail directly or through scheduler.
Also note I am able to send the activation mail to the concerned users succesfully.
Following is my mail.cf file:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<smtp>
<host>*.*.*.*</host> <!------ this is my SMTP IP Address ----->
<port>25</port>
<!--<username>rs@datenwerke.net</username>
<password></password>
-->
<ssl>false</ssl>
<tls>
<enable>false</enable>
<require>false</require>
</tls>
</smtp>
<mail>
<sender>kumargaurav.jagannath@rblbank.com</sender>
<forceSender>false</forceSender>
<encryptionPolicy>allow_mixed</encryptionPolicy>
</mail>
</configuration>
The following error pops in the scheduler :
java.lang.RuntimeException: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at net.datenwerke.rs.scheduler.service.scheduler.mail.MailReportAction$1.handleException(MailReportAction.java:133)
at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:243)
at net.datenwerke.rs.scheduler.service.scheduler.mail.MailReportAction.doExecute(MailReportAction.java:124)
at net.datenwerke.scheduler.service.scheduler.entities.AbstractAction.execute(AbstractAction.java:59)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.executeAction(SchedulerTask.java:495)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.executeActions(SchedulerTask.java:385)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.safeCall(SchedulerTask.java:209)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.call(SchedulerTask.java:101)
at net.datenwerke.scheduler.service.scheduler.tasks.SchedulerTask.call(SchedulerTask.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1873)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1120)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at net.datenwerke.rs.core.service.mail.MailServiceImpl.sendMailSync(MailServiceImpl.java:233)
... 11 more
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1724)
... 15 more
Offline
Hi Gaurav,
just to get it right:
- the scheduler functionality works in the DEV environment
- the mail.cf in the post is the mail.cf from your DEV Environment
- the mail.cf in the post is reused in the UAT environment
- the scheduler functionality does not work in the UAT environment
Is that correct ?
wbr jan
Offline
- yes
- yes
- yes
- yes
scheduler is working fine i guess , its just that mail service which is not working directly or through scheduler
Offline
Hi Gaurav,
something is strange with your mail.cf file:
<host>*.*.*.*</host> <!------ this is my SMTP IP Address ----->
<port>25</port>
<!--<username>rs@datenwerke.net</username>
<password></password>
-->
Your SMTP IP Address is *.*.*.* ? I don't quite understand this. For testing, first try with a mail server like gmail, so you can check if there is something with this. Your host should be something like mail.datenwerke.net.
You also don't have a username and password for your mail server. These are empty and commented out.
Regards,
Eduardo
Offline