Fog Creek Software
Discussion Board


Has anyone customized FogBugz to use CDO/CDONTS for e-mail notification instead of BUGZ_SMTP_SERVER in submitbug.asp & setup-2.asp?  Our environment is "qualified" (in the FDA GxP sense of the word), and although we have CDO/CDONTS, we cannot add

Steven F. Johnson
Tuesday, July 2, 2002

Yup.  There's a small section in the file submit_bug.asp you can replace if you want to use CDONTS.

Look for the lines:
Dim sm
Set sm = Server.CreateObject("wSendMail.wSendMail.1")
Set sm = Nothing

And then replace these with:
Dim objMail
On Error Resume Next    ' In case CDONTS not installed, or if sending goes wrong
Set objMail = Server.CreateObject("CDONTS.NewMail")
With objMail
    .To = rs("sEmail")
    .From = BUGZ_EMAIL
    .Subject = "FogBUGZ Notification (#" & ixBug & ": " & rs("sTitle") & ")"
    .Body = sFinalMessage & chr(10) & chr(10) & _
        "If you do NOT want to receive automatic FogBUGZ notifications in the future," & chr(10) & _
        "go to the FogBUGZ signup form (" & BUGZ_SERVER & "/signup.asp)" & chr(10) & _
        "to change your preference." & chr(10)
End With
Set objMail = Nothing
On Error Goto 0

Martin Sutherland
Thursday, August 22, 2002

*  Recent Topics

*  Fog Creek Home