|
Hi again; I am not able to configure the e-mail settings properly... We have created an independent e-mail account like "twork_usr@integrol.com". The same problem occurs when I create a new task while I am logged in. I check the checkbox to inform the engineer to be notified by e-mail during the assignment. But we receive the same error log.
The log says that I have no permissions! But...
This is what I get whe I try to send an e-mail while I am logged in: 2011 May 30 10:55:48 ERROR emailLogger:81 - Problem sending e-mail org.jblooming.ApplicationException: Server time: 30/05/2011. at org.jblooming.messaging.MailHelper.sendHtmlMail(MailHelper.java:191) at org.jblooming.messaging.MailHelper.sendHtmlMail(MailHelper.java:147) at org.jblooming.messaging.MailHelper.sendHtmlMail(MailHelper.java:138) at org.jblooming.messaging.EmailMessageDispatcher.run(EmailMessageDispatcher.java:75) at org.jblooming.scheduler.ExecutableSupport.runAndLog(ExecutableSupport.java:22) at org.jblooming.scheduler.Job.run(Job.java:161) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.sun.mail.smtp.SMTPSendFailedException: 501 5.7.1 ckamoy@integrol.com... Permission denied at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1515) at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634) at org.jblooming.messaging.MailHelper.send(MailHelper.java:478) at org.jblooming.messaging.MailHelper.sendHtmlMail(MailHelper.java:188) ... 11 more |
|
The Teamwork job that sends e-mail read a queue of messages generated in the system and try to send these messages to those subscribed. When the e-mail is generated Teamwork put as the sender e-mail address the one of the user that generated the event. if this resource has not the e-mail set Teamwork takes the one set on the administration page. This is probably the reason way if you send it with the administrator resource it works (probably it does not have the e-mail address set). We will modify this procedure so that if it is used the authenticated SMTP Teamwork use always its own e-mail address. Thanks for your feedback. |
|
Silvia, It should be possible to always use the SMTP authentication settings defined at the system level to send any message with any from address and any recipient. SMTP doesn't enforce any rule that would force to use sender's credentials matching with the from address. |
|
Maybe this previous answers could be useful: http://answers.twproject.com/questions/502/notifications-stopped-sending-asking-again |
|
Dear Silvia, I did that alread... :(
I want to repeat what I found out. When I am logged in as a resource which has a different e-mail address then the system manager no e-mails can be sent. How does it work? Let's go over an example: Logged when we disable SMTP authentication.2011 May 31 12:46:52 ERROR emailLogger:81 - Problem sending e-mail |
|
If I understand correct; If it is not possible to assing parameters for the resources (users) e-mail address we will accept it that the user cannot send e-mails from teamwork to each other. But when I as e.g. PM need to change something then Teamwork system should send the notification per e-mail with the system account and not my account... Regards Cem |
|
Dear Silvia, I partly agree with that. Let me explain. Back to your comment. I've got following comments and questions. Any suggestions? Best Regards Cem |

So,
after further investigations I can say for sure that the resources are not able to send e-mails.I that true? Just to summerize my problem above: I have setup the e-mail address of the System Manager and the e-mail address in the global settings identical. And when I'm logged in as administrator the system can send e-mails because the login params are identical. If I am logged in however as one of the other resources with its own login and the personal e-mail address then that resource is not able to send e-mails because the login parameters for them to access their pop account are not set
The bad thing is: A resource assigned as PM to a task has the rights to change e.g. the dates. Even in this case teamwork does not send the notification to the assigned resources and the error message above is logged.