Hello. I would like for you to try the following script in your test environment, to see if you get the results you are looking for. With the script in place, when you click the ‘Send by E-mail’ button in the ‘Defects’ module, the Domain will be removed from the ‘Subject’ line, leaving the Project Name, Defect ID#, and the Defect Summary.
Enter the following workflow script into the ActionCanExecute Function:
If ActionName ="act_SendbyEmail" Then
Set WshShell = CreateObject ("WScript.Shell")
WshShell.SendKeys "{TAB}{TAB}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}{Delete}"
WshShell.SendKeys TDConnection.ProjectName
WshShell.SendKeys " - "
WshShell.SendKeys "Defect #"
WshShell.SendKeys Bug_Fields.Field("BG_BUG_ID").Value
WshShell.SendKeys " - "
WshShell.SendKeys Bug_Fields.Field("BG_SUMMARY").Value
Set WshShell = Nothing
End If