I have a problem in which the application sends an email every time an user is created with his username and password using the mail server and port I specify in the application. Till this time I am testing this manually by checking the email of the user in outlook. Is there any way to automate it using QTP.
Re: How to check whether an email sent successfull
Yes. You need to look into Outlook COM and the read the mailbox inbox folder for unread emails. Check that the email for your test has arrived, validate it and make the email read so that it is easier for you to look for new emails.