I'm having problems setting up my smtp email on 4images.
Sometimes keeps loading and loading, and never ends and sometimes says something about that the server needs autentification.
These are my settings:
Use SMTP Server: Yes
SMTP Server: ssl://smtp.gmail.com
UserName: webmaster@gruposcout508.com.ar
PassWord: My GMail Password
I have fsockopen enabled, and I can't use the mail() function. What can I do?
Thanks!
PD:
I've already changed this:
// open socket.
$fp = fsockopen($config['smtp_host'], 25);
$result = fgets($fp, 1024);
if (substr($result, 0, 3) != 220) {
$ok = 0;
$this->error("Invalid mail server response (service not ready?): $result", 1);
}
To this:
// open socket.
$fp = fsockopen($config['smtp_host'], 465);
$result = fgets($fp, 1024);
if (substr($result, 0, 3) != 220) {
$ok = 0;
$this->error("Invalid mail server response (service not ready?): $result", 1);
}