I was able to source a loop, however this seems to only read off line 1 from a log file,see below
Do While Not objFile.AtEndOfStream
strData = objFile.ReadLine
arrInput = Split(strData,"' to '")
If InStr(arrInput(1),"@googlemail.com") Then objOut.WriteLine strData
how do i have it search the entire log for the specified ),"@googlemail.com" input?