Send Email based off IF THEN results


  • I have an IF _ THEN _, setup and I want to send an email based off these. For example I have a percent if then setup.

    If percent < 100 Then MsgBox("Fail")

    If percent >= 100 Then MsgBox("Pass")

    I'd like to send an email saying either 'Pass' or 'Fail' based off which msgbox is shown.

    Any help is greatly appreciated. Thank You.

    • Edited by Tabii Thursday, March 15, 2012 4:37 PM
    Thursday, March 15, 2012 8:17 AM

All replies

  • The variables are something obvious. Sending the email is another thing:

    Check CodeProject for sending emails.

    Regards, MusicDemon

    Thursday, March 15, 2012 6:44 PM