I run wamp 1.65 and using swift 3.33 for php5 (from home server)
I'm trying to perform the basic smoke test by logging onto:
../tests/smokes/runTestOfBasicSend.php
using my gmail account, but get this error:

The SMTP connection failed to start [tls://smtp.gmail.com:25]: fsockopen returned Error Number 0 and Error String ''
The only change in the code i made was in the TestConfiguration.php file, as follows:
Code: Select all
/*
* EVERYTHING BELOW IS FOR SMOKE TESTING ONLY
*/
/**
* The connection tye to use in testing
* "smtp", "sendmail" or "nativemail"
*/
const CONNECTION_TYPE = "smtp";
/**
* An address to send emails from
*/
const FROM_ADDRESS = "me@gmail.com";
/**
* The name of the sender
*/
const FROM_NAME = "From Name";
/**
* An address to send emails to
*/
const TO_ADDRESS = "to@add.com";
/**
* The name of the recipient
*/
const TO_NAME = "To Name";
/*
* SMTP SETTINGS - IF APPLICABLE
*/
/**
* The FQDN of the host
*/
const SMTP_HOST = "smtp.gmail.com";
/**
* The remote port of the SMTP server
*/
const SMTP_PORT = 25;
/**
* Encryption to use if any
* "ssl", "tls" or false
*/
const SMTP_ENCRYPTION = "tls";
/**
* A username for SMTP, if any
*/
const SMTP_USER = "me@gmail.com";
/**
* Password for SMTP, if any
*/
const SMTP_PASS = "pw";