Subversion Repositories DevTools

Rev

Rev 1281 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1281 Rev 3900
Line 3635... Line 3635...
3635
      NewTextFile.Close
3635
      NewTextFile.Close
3636
      Set NewTextFile=Nothing
3636
      Set NewTextFile=Nothing
3637
 
3637
 
3638
      ' EMAIL CSV report if user has requested it
3638
      ' EMAIL CSV report if user has requested it
3639
      If emailReport Then
3639
      If emailReport Then
3640
         Dim myMail, LocalPath
3640
         Dim LocalPath
3641
         Set myMail=Server.CreateObject("Persits.MailSender")
-
 
3642
         LocalPath = Server.MapPath("docs\ReleaseDEVIStatus_"&objAccessControl.UserName&".csv")
3641
         LocalPath = Server.MapPath("docs\ReleaseDEVIStatus_"&objAccessControl.UserName&".csv")
3643
         myMail.Host = SMTP_HOST
-
 
-
 
3642
 
3644
         myMail.Subject="Release DEVI Status Report (csv) from Release Manager"
3643
         Send_Email   "Release Manager Notification",_
3645
         myMail.From=ADMIN_EMAIL
3644
                       adminEmail, _
3646
         myMail.AddAddress objAccessControl.UserEmail
3645
                       objAccessControl.UserEmail,_
3647
         ' Attach the file
-
 
3648
         myMail.AddAttachment LocalPath
3646
                       "Release DEVI Status Report (csv) from Release Manager", _
3649
         myMail.Body = "Your requested report..."
3647
                       "Your requested report...",_
3650
         myMail.Send
-
 
3651
         set myMail=nothing
3648
                       LocalPath
3652
      End If
3649
      End If
3653
   End If
3650
   End If
3654
End Sub
3651
End Sub
3655
%>
3652
%>