Author Topic: 4images, fsockopen & GMail  (Read 5164 times)

0 Members and 1 Guest are viewing this topic.

Offline ClickyMouse

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
4images, fsockopen & GMail
« on: January 21, 2008, 03:42:50 PM »
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:
Code: [Select]
    // 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:
Code: [Select]
    // 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);
    }
« Last Edit: January 21, 2008, 03:55:04 PM by ClickyMouse »

Offline ClickyMouse

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 4images, fsockopen & GMail
« Reply #1 on: January 23, 2008, 01:27:14 PM »
 :cry:

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: 4images, fsockopen & GMail
« Reply #2 on: January 23, 2008, 04:54:02 PM »
i'm not sure:

did you tried with
SMTP Server: smtp.gmail.com
?
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline ClickyMouse

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: 4images, fsockopen & GMail
« Reply #3 on: January 23, 2008, 09:11:07 PM »
Yes, I tried that.
If I do that, this message appears:

Email Error: Invalid mail server response (service not ready?):

See ya! And thanks!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: 4images, fsockopen & GMail
« Reply #4 on: January 27, 2008, 10:56:54 PM »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?