Monday, May 3, 2010

Sending a mail through QC using API

The below function helps to send mail from QC automatically with attachment

Public function sendMail(toMail,fromMail,subj,body,attachment)
Set qcCon = qcutil.QCConnection
qcCon.sendmail toMail,fromMail,subj,body
Set qcCon = nothing
End Function

No comments:

Post a Comment