Yes the testing is carried out remotely.
I set the gmail port to 465 and the 1and1 should work on 25 or 587 both of which I have tried
The last test to 1and1 resulted in error
string(196) "Sending To: firstname.lastname@example.org; email@example.com... 10001 - Failed to connect to auth.smtp.1and1.co.uk:587 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )] - Failure
On the 1and1 server I dont know what to enter as the Path to PEAR can you suggest?
Same with the gmail set up