Email notifications

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

Moderator: SourceGear

Locked
Jadams
Posts: 19
Joined: Thu Jun 08, 2006 6:21 am
Location: Glasgow, Scotland.
Contact:

Email notifications

Post by Jadams » Mon Jun 19, 2006 6:40 am

Was posted on normal support channels until remembered we have gold support.

we have recently tried to enable the integration between dragnet and vault (so when a checkin occurs against a certain bug, the checkin comment is posted to the bug.)

as I understand it, this meant changing a dropdown which was set at Fogcreek to Dragnet. However, after this was done, we no longer get any email notifications. None at all.

Is there anything that we should be aware of?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Jun 19, 2006 7:55 am

We could use more information. Are you not getting email from Vault, or from Dragnet?

If you are expecting email from Dragnet, is Dragnet configured to send email? This configuration is in Dragnet under Setup->Email. You must have Admin privileges to access Setup. Also, Dragnet users must be subscribed to email notifications. To subscribe, select a Project, then in the Preferences tab, select Email. You have the option to subscribe to all email notifications for any bugs, any bugs for the project, or or only bugs assigned to you.
Linda Bauer
SourceGear
Technical Support Manager

Jadams
Posts: 19
Joined: Thu Jun 08, 2006 6:21 am
Location: Glasgow, Scotland.
Contact:

Post by Jadams » Mon Jun 19, 2006 8:17 am

Hi,

Vault was configured correctly to send emails out to those who were subscribed. Within our current configuration, I am subscribed to receive emails from any new or modified defects.

In order to integrate Vault with Dragnet we used the Vault Admin tool. Please see attached screenshot. The only changes made to this screen was to change the dropdown for Bug Tracking Application from FogBugz to Dragnet and to enable "Require Checkin Comments." Emails were being sent out and received correctly prior to this change. After this change no emails are being sent (although checkin comments are being sent to referenced defects.)
Attachments
dragnet.JPG
Vault Admin Tool screenshot
dragnet.JPG (178.02 KiB) Viewed 20944 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Jun 19, 2006 9:35 am

Verify that your email settings in Server Options are intact, and that the configuration in the Vault GUI Client hasn't changed.

Also check the Vault Server log, sgvault.log in %windir%\temp\sgvault to see if there are any error messages associated with email notification.

Check your SMTP logs as well.
Linda Bauer
SourceGear
Technical Support Manager

Jadams
Posts: 19
Joined: Thu Jun 08, 2006 6:21 am
Location: Glasgow, Scotland.
Contact:

Post by Jadams » Tue Jun 20, 2006 12:25 am

Will check the options and the error log as indicated.

As for the Vault Client, this affects all users of Vault, so unless something has remotely changed all of our Client's configs that could be ruled out?

Jadams
Posts: 19
Joined: Thu Jun 08, 2006 6:21 am
Location: Glasgow, Scotland.
Contact:

Post by Jadams » Tue Jun 20, 2006 2:41 am

Having checked the log files found the error in dragnet.log.

Checked backwards through the logs and the error appears to coincide with changing the Bug Tracking Application from FogBuz to Dragnet.

The error we get is this:

2006-06-19 10:25:03.610 SendEmailNotification Failure - To: [email] Subject: [Dragnet Change (Feature) - AdapTex v2.0 Beta Release:196] Dictionary generation tool Error: Could not access 'CDO.Message' object.[Exception has been thrown by the target of an invocation. [The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available ]]

have looked at the web.config file but there is no mention of any mail settings there.

Any ideas?
Last edited by Jadams on Mon Sep 11, 2006 12:50 am, edited 1 time in total.

Jadams
Posts: 19
Joined: Thu Jun 08, 2006 6:21 am
Location: Glasgow, Scotland.
Contact:

Post by Jadams » Tue Jun 20, 2006 5:01 am

Tring to get this sorted now as this is quite annoying.

In Dragnet configuration, all settings appear intact.
Vault admin as above screenshot.
In Vault Admin -> server options: there are no email settings.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Jun 20, 2006 5:43 am

The error 0x80040217 means that the attempt to access the SMTP server has failed. This could be caused by a number of different reasons - blocked IP, relaying denied, etc.

What app are you using for your SMTP server? Can you check loggin in your SMTP server to see if the messages are getting through?

Email from Dragnet and from Vault are separate, so errors in the Dragnet log show there may be a problem with the mail server and this could be affecting Vault as well.

The setting for email in Vault is in the Admin Tool->Server Options. Look at the bottom of the Server Options screen for the Email button. This should bring up the email settings.
Linda Bauer
SourceGear
Technical Support Manager

Jadams
Posts: 19
Joined: Thu Jun 08, 2006 6:21 am
Location: Glasgow, Scotland.
Contact:

Post by Jadams » Tue Jun 20, 2006 5:56 am

using exchange 2003 for smtp.

I can connect using both telnet and by a perl script I have written.

The errors are showing in the dragnet log file.
No errors are being shown in the vault file or in the smtp logs.

This post should technically be under dragnet, sorry, I was confused to begin with.

Does this info help in anyway?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Jun 20, 2006 9:07 am

Ok, you're not getting emails from Dragnet. I've moved this to the Dragnet forum.

Does your SMTP Server require authentication? If so, do you have a SMTP username configured in the Email portion of Setup?

Does your SMTP Server allow relaying?

See this forum post with a similar problem and suggestions for troubleshooting.

http://support.sourcegear.com/viewtopic.php?t=3361
Linda Bauer
SourceGear
Technical Support Manager

Jadams
Posts: 19
Joined: Thu Jun 08, 2006 6:21 am
Location: Glasgow, Scotland.
Contact:

Post by Jadams » Tue Jun 20, 2006 9:09 am

problem eventually resolved.

Locked