This is a space where the community of Teamwork users can ask for support, explanations,
and also vote up or down questions, answers and feature requests.
>> Back to Teamwork's site.

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".
Password, permissions etc seems to be working fine through the Configuration/admin page.
When we logged in as administrator (System Manager) we are able to send e-mails to the resources by using the send e-mail from boards.
But when I'm logged in with my account (which is an Administrator and Area Manager) I cannot send e-mails. The same is for the other resources which have only Operational access. But I think that should not be ther reason?

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...

  • When I create a task. the system manager is going to send that e-mail. and that one has been configured in the admin page.

  • All the resources should be able to send any issues or messages or links per e-mail. How is that going to work? Sticky notes however work fine.

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


asked May 30 '11 at 04:20

ckamoy's gravatar image

ckamoy
222

edited Jun 15 '11 at 08:11

Pietro%20Polsinelli's gravatar image

Pietro Polsinelli ♦♦
4617212

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

(May 31 '11 at 02:21) ckamoy

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.

(May 31 '11 at 02:24) ckamoy

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.

answered Jun 01 '11 at 03:39

Silvia%20Chelazzi's gravatar image

Silvia Chelazzi ♦♦
408519

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.

answered Jun 15 '11 at 05:44

Le%20Cantonnier's gravatar image

Le Cantonnier
243

answered May 31 '11 at 03:08

Silvia%20Chelazzi's gravatar image

Silvia Chelazzi ♦♦
408519

Dear Silvia,

I did that alread... :(

  • If I disable SMTP authentication teamwork machine is not able to login and send at all. See log below.
  • The PC where Teamwork is running is a XP SP2 where we created an account in outlook express to check whether it can send/receive e-mails. And it does.

I want to repeat what I found out.
When I am logged in as Administrator which is the System Manager account. The system is sending e-mails! That means access to the SMTP Server is available!

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:
When a resource with PM rights changes something on a task, notifications will be sent according the selections. I assume system account will do that. In this case the system should use the system account defined in the Admin-Settings page. But why do I get the error log in my question above? Like if the system tries to use the account from ther resource?

Logged when we disable SMTP authentication.

2011 May 31 12:46:52 ERROR emailLogger:81 - Problem sending e-mail
org.jblooming.ApplicationException: Server time: 31/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: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 twork_info@integrol.com Access to ckamoy@integrol.com not allowed
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1294)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:635)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:118)
at org.jblooming.messaging.MailHelper.send(MailHelper.java:480)
at org.jblooming.messaging.MailHelper.sendHtmlMail(MailHelper.java:188)
... 11 more
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 twork_info@integrol.com Access to ckamoy@integrol.com not allowed
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1145)
... 16 more

answered May 31 '11 at 06:35

ckamoy's gravatar image

ckamoy
222

If I understand correct;
teamwork can only send e-mails on behalf of the resources only if they have SMTP access without restrictions.
But our accounts (our crew) are hosted at our ISP which needs authenticated login for STMP.

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

answered May 31 '11 at 06:43

ckamoy's gravatar image

ckamoy
222

Dear Silvia,

I partly agree with that. Let me explain.
First of all. I have an e-mail address set for the System Manager (Administrator) in the resources.
But I don't think that this is the only problem. If I don't set any e-mail address there, Teamwork Pop's a message to remind me to set one. Otherwise I would not be able to send notifications :)
But it does!!
As you said because it uses then the account in the settings page.

Back to your comment. I've got following comments and questions.
OK. I agree that Teamwork accound should be used to send e-mails always for notifications. User accounts might be used if the user is sending a message directly, which is not really necessary.
If I don't set an e-mail address in my resources page, how will I get any e-mails from teamwork then?
* Is there a work around for that? I mean how does everybody use it right now? I guess the only way is tu use a local mail server and set it's SMTP setting so that it's not asking for anything?

Any suggestions?

Best Regards Cem

answered Jun 01 '11 at 12:13

ckamoy's gravatar image

ckamoy
222

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×49
×4
×4

Asked: May 30 '11 at 04:20

Seen: 505 times

Last updated: Jun 15 '11 at 08:11

| Teamwork faq | about | contact us | Teamwork blog | Teamwork documentation | feedback always welcome