How to send the qtp results file by email




















Example: Let us consider that we have 2 accounts in Outlook — abc test. Now to send a mail from def test. CreateItem 0. Accounts If oAccount. Is there any way by which we can send emails to lotus notes just as we are doing for Outlook? I have tried lots of code by nothing seems to be working fine. SendMail' ,but this also is unable to add attachments. The user recieves only plain text and no attachment.

Hi, Actually i tried to open outlook mail from excel macro, it's opened but i need to change TO and CC mail address. Please let me know the solution. Thanks for help. Somehow using the result path i got the file but which i want to send as an attachment then it says that it is being used by another process.

Result file might be locked as it is being used by current script. Add code to launch the script to send email after current script stops. Resources Support. CyberRes Academy. Partner Portal. Contact us. Privacy Policy Terms of Use. I have uploaded this in the GitHub repository. We also have modified the script to create a report in format we want. Now we need to send this out to the entire team once the test is done.

I have used gmail smtp server just for this article — demo. You can use your organization smtp server details. If you would like to use gmail smtp server — ensure that your organization does not block the firewall.



0コメント

  • 1000 / 1000