Try this :
grep -e "^[^#]*bin/exim.*" -e "^[^#]*SendEmail.*" -e "^[^#]*Unformatted.*" test.txt
i've try it with this file
# test #test # test #test test toto #toto # toto test toto test #bin/exim #SendEmail #Unformatted # bin/exim # SendEmail # Unformatted # bin/exim # SendEmail # Unformatted #bin/exim #SendEmail #Unformatted bin/exim SendEmail Unformatted