issues with new email submission features

Discuss problems installing or using TrackStudio.

issues with new email submission features

Postby naresh » Wed Oct 08, 2003 9:03 pm

Hello Maxim,

I am trying out the new email submission features in 2.8 Beta. I noticed some things that are annoying.

1) The body of an email doesn't get logged in the message of the task. All i see is a blank note created. Is this a bug?

2) We cannot expect our users to use a magic string whenver they submit new issues. Ideally, we would like to just read their email and create a new issue if they don't have #issue_no in their email subject (for registered users). Unrecognized user's emails should be forwarded to us for processing.

3) Can you show me how i can edit the body of the email sent by TrackStudio whenever an update is made to an issue? I don't want the extra fields included by TrackStudio.

In the future we would like to be able to create users through email. Although, this is not a priority right now.

Regards,
Naresh.
naresh
 
Posts: 17
Joined: Thu Sep 25, 2003 9:11 pm

Re: issues with new email submission features

Postby admin » Wed Oct 08, 2003 11:46 pm

naresh wrote:Hello Maxim,

I am trying out the new email submission features in 2.8 Beta. I noticed some things that are annoying.

1) The body of an email doesn't get logged in the message of the task. All i see is a blank note created. Is this a bug?


It should be logged. What email client you use ? Possible, you use RTF messages (we support HTML and plain text body). TrackStudio should also add attachments. If problem still persist - please send me logs.

naresh wrote:2) We cannot expect our users to use a magic string whenver they submit new issues. Ideally, we would like to just read their email and create a new issue if they don't have #issue_no in their email subject (for registered users). Unrecognized user's emails should be forwarded to us for processing.


Yes, of course. Your users should use magic # only to add messages to existing tasks - they should receive message with # as email notifications and all they need - reply to such mail. To import new bugs no magic required, you can parse your support mailbox and TrackStudio will import all it can and send unknown mail to your mailbox.
Please refer http://trackstudio.com/forum/viewtopic.php?t=134 for more details.

naresh wrote:3) Can you show me how i can edit the body of the email sent by TrackStudio whenever an update is made to an issue? I don't want the extra fields included by TrackStudio.


You need slight source code modification for it - you need just to remove all unwanted fields from it. I'll send source for review to David.

naresh wrote:In the future we would like to be able to create users through email. Although, this is not a priority right now.

Regards,
Naresh.


Its quite simple task if you can code it in Java - you need not modify nothing, just implement adapter (simple class, 50-100 lines of code) and include it in pipeline. I'll send source code of existing adapters for review to.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: issues with new email submission features

Postby naresh » Thu Oct 09, 2003 12:33 am

Hi Maxim,

I tried sending a test email from my hotmail account. I have a customer account created on TrackStudio with that hotmail email. However, TrackStudio only forwards me that email, it doesn't add that email as an issue under the customer account.

Also, I just want to let you know that updating existing issues works fine with attachments, however, the email body is not saved. I looked at the logs and didn't see anything wrong.

Thanks for sharing source code with us. I will implement an adapter and test it out.

Regards,
Naresh
naresh
 
Posts: 17
Joined: Thu Sep 25, 2003 9:11 pm

Re: issues with new email submission features

Postby admin » Thu Oct 09, 2003 12:40 am

naresh wrote:I tried sending a test email from my hotmail account. I have a customer account created on TrackStudio with that hotmail email. However, TrackStudio only forwards me that email, it doesn't add that email as an issue under the customer account.


Are you enable Task Import for some task ? If TrackStudio forward mail to you - it can't process it, it should explain in logs why it can't.

naresh wrote:Also, I just want to let you know that updating existing issues works fine with attachments, however, the email body is not saved. I looked at the logs and didn't see anything wrong.


OK, I'll test it with hotmail account tomorrow.

naresh wrote:Thanks for sharing source code with us. I will implement an adapter and test it out.


I am not sure that those code will be enough, but you can catch idea how easy/difficult to implement it. If you have any questions - just let me know.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: issues with new email submission features

Postby naresh » Thu Oct 09, 2003 12:56 am

Hi Maxim,

I just found out something interesting. I sent a 2 emails from my hotmail account but TrackStudio didn't even respond ( I didn't see anything in the logs). However, after i updated an issue TrackStudio immediately woke up and processed all the emails. I was expecting 2 new issues to get created but TrackStudio just forwarded me the emails + one email about the issue that i updated.

Regards,
Naresh.
naresh
 
Posts: 17
Joined: Thu Sep 25, 2003 9:11 pm

Re: issues with new email submission features

Postby admin » Thu Oct 09, 2003 12:59 am

naresh wrote:Hi Maxim,

I just found out something interesting. I sent a 2 emails from my hotmail account but TrackStudio didn't even respond ( I didn't see anything in the logs). However, after i updated an issue TrackStudio immediately woke up and processed all the emails. I was expecting 2 new issues to get created but TrackStudio just forwarded me the emails + one email about the issue that i updated.

Regards,
Naresh.


Please note that TrackStudio check mail periodically (every minute), so you should a little wait before it process mail. Do you enable e-mail import (Task Management->Task->E-mail import) for any task ?
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: issues with new email submission features

Postby naresh » Thu Oct 09, 2003 1:26 am

No I don't enable email import for any job. Is this ok?
naresh
 
Posts: 17
Joined: Thu Sep 25, 2003 9:11 pm

Re: issues with new email submission features

Postby naresh » Thu Oct 09, 2003 1:30 am

naresh wrote:No I don't enable email import for any job. Is this ok?


Okay. i just checked again. I did in fact enable an email import that i forgot to remove. I removed this and tested again and it is able to pick up new emails. But it still forwards them to me. TrackStudio is not adding the emails to the user account.
naresh
 
Posts: 17
Joined: Thu Sep 25, 2003 9:11 pm

Re: issues with new email submission features

Postby naresh » Thu Oct 09, 2003 1:37 am

Here is what i see in the logs now

INFO|10/08 16:36:37.090| [gran.app.adapter.service.BasePOP3ServiceAdapter]: Connected to indigo
INFO|10/08 16:36:37.120| [gran.app.adapter.service.BasePOP3ServiceAdapter]: Message received
INFO|10/08 16:36:37.120| [gran.app.adapter.pop3.BasePOP3Adapter]: Message format is incorrected, can't find first '***DO_NOT_EDIT***' delimiter in the note text:
INFO|10/08 16:36:37.120| [gran.app.adapter.pop3.MailImportMessagesPOP3Adapter]: process caled
INFO|10/08 16:36:37.120| [gran.app.adapter.pop3.MailImportMessagesPOP3Adapter]: # not found in message subject
INFO|10/08 16:36:37.120| [gran.app.adapter.pop3.MailImportTaskPOP3Adapter]: process called
INFO|10/08 16:36:37.150| [gran.app.adapter.kernel.user.BaseUserAdapter]: findUserByEmailImpl called
INFO|10/08 16:36:37.160| [gran.app.adapter.kernel.mailimport.BaseMailImportAdapter]: getRecords called
INFO|10/08 16:36:37.160| [gran.app.adapter.pop3.MailImportTaskPOP3Adapter]: not exist mail import for anything task
INFO|10/08 16:36:37.160| [gran.app.adapter.pop3.CleanPOP3Adapter]: process caled
INFO|10/08 16:36:37.160| [gran.app.adapter.pop3.PostProcessingPOP3Adapter]: process caled
INFO|10/08 16:36:37.160| [gran.app.adapter.pop3.PostProcessingPOP3Adapter]: forward current message
CALL|10/08 16:36:37.170| [gran.tools.MailWriter]: forward
CALL|10/08 16:36:37.320| [gran.app.adapter.kernel.index.BaseIndexAdapter]: indexImpl called
naresh
 
Posts: 17
Joined: Thu Sep 25, 2003 9:11 pm

Re: issues with new email submission features

Postby admin » Thu Oct 09, 2003 11:57 am

naresh wrote:Okay. i just checked again. I did in fact enable an email import that i forgot to remove. I removed this and tested again and it is able to pick up new emails. But it still forwards them to me. TrackStudio is not adding the emails to the user account.


Just check e-mail import from Hotmail into TrackStudio Host, all work fine, here description of new task
---
Test from hotmail

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
---

Please send me your database (HSQL, I suppose) and e-mail from you send mail.

Please also refer email submission documentation preview:
http://trackstudio.com/forum/viewtopic.php?t=134
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 7454
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Next

Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron