ALM Site Administration API Type Library 12.50 and later
SendAllQualifiedNow Method
The domain name.
The project name.
Description
Sends pending emails to the users as configured in the specified project.
Syntax
Visual Basic
Public Function SendAllQualifiedNow( _
   ByVal DomainName As String, _
   ByVal ProjectName As String _
) As String
Parameters
DomainName
The domain name.
ProjectName
The project name.
Return Type
Returns "1" on success.
Remarks
When SendAllQualifiedNow is called, ALM processes the pending send-mail tasks for the specified project according to the Automail rules as customized in the project.
Example
Private Sub SendAllQualifiedNow()

'The following Visual Basic example sends an email to all
' qualified personnel.
    Dim sDomainName As String, sProjectName As String
    Dim sReply As String
    On Error GoTo err
    sDomainName = "MyDomain"
    sProjectName = "MyProject"
sReply = m_SAClient.SendAllQualifiedNow _
        (sDomainName, sProjectName)
    MsgBox sReply
    Exit Sub
err:
    MsgBox "Program failed:" + err.Description
End Sub
See Also

SAapi Object  | SAapi Members