SMTP notifications

If you are having a problem using Dragnet, post a message here.

Moderator: SourceGear

travis_thelen
Posts: 25
Joined: Wed Apr 21, 2004 3:10 pm

SMTP notifications

Post by travis_thelen » Tue Nov 30, 2004 6:36 pm

I am not getting any emails. Any suggestions on how to debug?

Thanks,
Travis

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Nov 30, 2004 7:12 pm

Did you configure the email setting for SMTP server? If so, does the Dragnet Server's log have any indication of a problem? The default location of the Dragnet log is in %windir%\Temp\SGDragnet
Jeff Clausius
SourceGear

travis_thelen
Posts: 25
Joined: Wed Apr 21, 2004 3:10 pm

continue thread

Post by travis_thelen » Tue Nov 30, 2004 8:37 pm

Yes - I configured the SMTP settings.

I turned the log level to Debug. Here is a snippet:

I noticed that after the AddItem call there is no call the an SMTP function (maybe debugging is not that fine grained..) Anyways I hope the log helps.

Thanks,
Travis

2004-11-30 18:25:16.031 Starting SourceGear Dragnet by SourceGear, LLC - Version 1.0.0.1166 Copyright © 2004 SourceGear, LLC All rights reserved.
2004-11-30 18:25:16.046 Configured Options: : LogLevel - Debug LogReverseDNSLookup - True
2004-11-30 18:25:26.968 c-24-6-155-144.client.comcast.net (24.6.155.144)- : Helpers::Login - strLogin=admin, strPassword=<not_displayed>, strSessionID=jne43katyrbtdymvp42hd545
2004-11-30 18:25:26.968 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUserPreferences
2004-11-30 18:25:26.968 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUserPermissions
2004-11-30 18:25:26.968 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUserPermissions
2004-11-30 18:25:27.828 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUserPermissions
2004-11-30 18:25:27.828 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListProjects
2004-11-30 18:25:30.359 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUserPermissions
2004-11-30 18:25:30.578 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListRecentAddedItems - pid=104
2004-11-30 18:25:30.578 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::QueryItems
2004-11-30 18:25:30.578 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListRecentUpdatedItems - pid=104
2004-11-30 18:25:30.578 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::QueryItems
2004-11-30 18:25:30.750 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListRecentCommentedItems - pid=104
2004-11-30 18:25:30.750 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::QueryItems
2004-11-30 18:25:33.562 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListItemStatusValues
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListTypes
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListItemPriorities
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUsers - pid=104
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUsers - nProjectID=104
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListMilestones - strPid=104
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListMilestones - strPid=104
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListCategories - strPid=104
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListTimeEstVals
2004-11-30 18:25:33.734 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListPlatforms
2004-11-30 18:25:43.890 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUsers - pid=104
2004-11-30 18:25:43.890 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListMilestones - strPid=104
2004-11-30 18:25:43.890 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListCategories - strPid=104
2004-11-30 18:25:43.890 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::AddItem - mItem.Description= test that email
2004-11-30 18:25:44.750 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListItemDetails - id=7
2004-11-30 18:25:53.000 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUserPermissions
2004-11-30 18:25:56.453 c-24-6-155-144.client.comcast.net (24.6.155.144)-admin : Helpers::ListUsers - nProjectID=0

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Nov 30, 2004 8:53 pm

Since the email notification routine lives in its own thread, there won't be any log entries, unless there is an error.

How did you configure the user's setting under the project email preferences?
Jeff Clausius
SourceGear

travis_thelen
Posts: 25
Joined: Wed Apr 21, 2004 3:10 pm

continue thread

Post by travis_thelen » Tue Nov 30, 2004 10:50 pm

Thanks - I figured it out.

1) Didn't have notifications turned on

2) Then there was an SMTP relay problem with IIS

jkp*74
Posts: 147
Joined: Wed Dec 15, 2004 9:42 pm
Contact:

Post by jkp*74 » Wed Dec 15, 2004 9:56 pm

How do you solve the SMTP relay problem in IIS? I have set the email notification for the user but still do not receive any email notification.

joel

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Dec 15, 2004 10:09 pm

Go into IIS' admin tool. Look at the properties for the SMTP server. On the access tab, there is a button for Relaying. The options can be controlled from within there.

HTH
Jeff Clausius
SourceGear

jkp*74
Posts: 147
Joined: Wed Dec 15, 2004 9:42 pm
Contact:

Post by jkp*74 » Thu Dec 16, 2004 12:38 am

Hi,

I am lost here. My email server is hosted by other company. I have setup my own data server to host the dragnet and vault. Follows the help file provided, i have entered all the information in setting up the SMTP Server. In fact, i just copy the same setting from my email account in Outlook express. I have tried to set the e-mail Relay in the data server to grant access from the client PC.
However, i still could not receive any notification when the item is modified.

joel

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Thu Dec 16, 2004 8:49 am

What is the SMTP server you are using?

Is it a server controlled by the company hosting your email? If so, what is their relaying configuration? Are they set up to accept SMTP requests on behalf of the Dragnet server?

Perhaps you could give a complete description of your configuration.
Jeff Clausius
SourceGear

jkp*74
Posts: 147
Joined: Wed Dec 15, 2004 9:42 pm
Contact:

Post by jkp*74 » Tue Dec 21, 2004 1:31 am

I have setup a POP3 mail server running on W2k3 in a local server.
Server Name:csd-data-server
Authentication Method: Local Windows Accounts
Server Port:110
Always create an associated user for new mailboxes

Created a new domain: csd.com
2 mailboxes - admin, joel

*I have managed to send & retrieve email by using MS Outlook after adding the above mail server in MS Outlook.

For the SMTP Virtual Server Properties:
Access->Authentication - anonymous acess

In the Dragnet Setup page, i have entered the following data:
SMTP Server:csd-data-server
Return Address : admin@csd.com
Dragnet URL for links: http://csd-data-server/Dragnet
SMTP Server Port:25
SMTP Connection Timeout:30
SMTP Authentication Type:None

With the above setting, i still can't receive any email notification. Wonder why ... :(

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Dec 21, 2004 9:19 am

If you open a command prompt, and open a telnet session csd-data-server on port 25, do you get a login ( "telnet csd-data-server 25" )?

Is there anything in the dragnet server's log regarding some kind of error?
Jeff Clausius
SourceGear

jkp*74
Posts: 147
Joined: Wed Dec 15, 2004 9:42 pm
Contact:

Post by jkp*74 » Tue Dec 21, 2004 11:28 pm

No, i didn't get a login. This is what the screen looks like at the console:
220 csd-data-server Microsoft ESMTP MAIL Service, Version:6.0.3790.0 ready at Wed, 22 Dec 2004 13:18:04 -0800

There is no indication of any error in the server's log. Listed here is the log recording the modification of an item:
2004-12-21 15:13:31.531 CSD-JOEL (192.0.0.197)-joel : Helpers::QueryItems
2004-12-21 15:13:33.765 CSD-JOEL (192.0.0.197)-joel : Helpers::ListItemDetails - id=11
2004-12-21 15:13:35.312 CSD-JOEL (192.0.0.197)-joel : Helpers::ListItemEdit - id=11
2004-12-21 15:13:35.312 CSD-JOEL (192.0.0.197)-joel : Helpers::ListUsers - pid=101
2004-12-21 15:13:35.312 CSD-JOEL (192.0.0.197)-joel : Helpers::ListUsers - nProjectID=101
2004-12-21 15:13:35.312 CSD-JOEL (192.0.0.197)-joel : Helpers::ListMilestones - strPid=101
2004-12-21 15:13:35.312 CSD-JOEL (192.0.0.197)-joel : Helpers::ListMilestones - strPid=101
2004-12-21 15:13:35.312 CSD-JOEL (192.0.0.197)-joel : Helpers::ListCategories - strPid=101
2004-12-21 15:13:40.640 CSD-JOEL (192.0.0.197)-joel : Helpers::ListUsers - pid=101
2004-12-21 15:13:40.640 CSD-JOEL (192.0.0.197)-joel : Helpers::ListMilestones - strPid=101
2004-12-21 15:13:40.640 CSD-JOEL (192.0.0.197)-joel : Helpers::ListCategories - strPid=101
2004-12-21 15:13:40.640 CSD-JOEL (192.0.0.197)-joel : Helpers::ModifyItem mItem.ID=11
2004-12-21 15:13:40.640 CSD-JOEL (192.0.0.197)-joel : Helpers::ListItemDetails - id=11
2004-12-21 15:13:43.906 CSD-JOEL (192.0.0.197)-joel : Helpers::ListUserPermissions
2004-12-21 15:13:43.906 CSD-JOEL (192.0.0.197)-joel : Helpers::ListAtAGlance - pid=104
2004-12-21 15:13:43.906 CSD-JOEL (192.0.0.197)-joel : Helpers::ListAtAGlance - pid=103
2004-12-21 15:13:43.906 CSD-JOEL (192.0.0.197)-joel : Helpers::ListAtAGlance - pid=101
2004-12-21 15:15:21.359 CSD-JOEL (192.0.0.197)-joel : Helpers::ListSerials
2004-12-21 15:15:28.062 CSD-JOEL (192.0.0.197)-joel : Helpers::ListDragnetSettings

Will there be any email notification in the modification of an item or it is just when a new item is added ?

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Dec 22, 2004 9:50 am

The server will only log errors on sending email.

If you pick a user, where is the destination mailbox? Is it on csd-data-server? Also, if you look at the project settings for that user, what are all the settings for email notification?
Jeff Clausius
SourceGear

Dave Schulte
Posts: 55
Joined: Thu Dec 02, 2004 1:59 pm

Post by Dave Schulte » Wed Dec 22, 2004 4:05 pm

I am having similar trouble trying to set up email delivery for Vault. I keep seeing the following message in Vault's server log:

---12/22/2004 5:00:53 PM --()-- Error sending mail to dave.schulte@targetsoftware.com at SMTP server otter
----12/22/2004 5:00:53 PM --()-- Could not access 'CDO.Message' object.
----12/22/2004 5:00:53 PM --()-- Exception has been thrown by the target of an invocation.
----12/22/2004 5:00:53 PM --()-- The message could not be sent to the SMTP server. The transport error code was 0x800ccc15. The server response was not available

I'm not sure what the "CDO.Message" object is.

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Dec 22, 2004 9:52 pm

Dave:

According to this OLEXP: Outlook Express Error Codes, it seems a socket could not be opened to the SMTP server.

Searching Google Groups on the error message suggests SMTP is not running on port your specified port ( default 25) , an application (McAfee Anti-virus) / firewall is blocking access to the specified port, or the Vault ( Dragnet ) server is not connecting in the specified manner ( authenticated vs. non-authenticated access to the SMTP server ).
Jeff Clausius
SourceGear

Locked