ALM Site Administration API Type Library
SendAllQualifiedNow Method
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