Need help getting Arduino to send email

Theres probably a return character at the end of a line of response "/n". I may have got the slash round the wrong way.

So something like Pseudocode:

while chr unequal to "/n" {
serial.print (chr)
}

Gordon