In the past I have sent mail from MS Outlook.
QTP/UFT -> TD/QC
It required having a send from address in the code. I do not want to maintain a send from address.
Is there a way to use the ALM E-mailing system to send an e-mail? ALM seems to have a way to send e-mails without using Outlook. Is there a way to create an e-mail and send it using an ALM feature from UFT code?
I am calling the Sendmail OTA from inside of a UFT script. Do I need to Create The TD Connection object or is there a way to call the SendMail method using QCUTIL? Or is there another way to call SendMail?
I am using the code below. It does not give an error. It also does not send the mail. Is there a way to check sendmail for errors in sending an e-mail?
The KEVINABEL is an example of my ALM User name.
Is there a place to check for an error on SendMail?
set qcc = QCUtil.QCConnection
header= "Mail header"
body= "Mail Body"
qcc.SendMail "KEVINABEL","admin","Summary","body",NULL,"HTM L"
Set qcc = nothing