I like to show notification after i sent a mail through smtp server. Mails are successfully going but i need to show the client whether mail sent or not through a show dialog box . I am attaching my script here as a screenshot. According to my script it will show "mail not sent" dialog box even after i sent the mail. Everything is working fine except the notification i needed. please help. Thank you.