Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: can't use gmail smtp (ssl ) server  (Read 15860 times)

0 Members and 1 Guest are viewing this topic.

frankvanhoesel

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • Frank van Hoesel personal photos
can't use gmail smtp (ssl ) server
« on: December 19, 2004, 05:09:56 pm »

The problem is that i can not use the SMTP server from Gmail. These are my settings.

Code: [Select]
$CONFIG['smtp_host'] = 'smtp.gmail.com';
$CONFIG['smtp_username'] = 'myusername@gmail.com';
$CONFIG['smtp_password'] = 'mypassword';

How can i put in that it uses SSL on port 465 ???

The error i get when i try to send an e card is

Code: [Select]
Ran into problems sending Mail. Response: 530 5.7.0 Must issue a STARTTLS command first
Anybody has an solution ??

( my website is www.frenk.tk )
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can't use gmail smtp (ssl ) server
« Reply #1 on: December 19, 2004, 06:15:01 pm »

free email providers won't accept smtp connections from remote servers to avoid becoming open mail relays.
You can't your gmail mailbox for your server to relay emails. If the server is yours to administer, set up an smtp service on it. If you're webhosted, ask your webhost for support (usually you can use sendmail, as most servers are being hosted on Lunix).
I can't see how SSL should be related to this, nor what you're trying to accomplish by using other ports.

Joachim
Logged

frankvanhoesel

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • Frank van Hoesel personal photos
Re: can't use gmail smtp (ssl ) server
« Reply #2 on: January 04, 2005, 06:03:07 pm »

Why wouldn't gmail accept my login ? Because it is an SMTP server with SSL authorisation

smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587


So i think i could use this SMTP server for my E-cards. Because i can use the smtp server for my forum, at least emails are being sent from the forum through the smtp server from Google(Gmail)

So that is why i ask if it is possible to use SSL or TLS
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can't use gmail smtp (ssl ) server
« Reply #3 on: January 05, 2005, 01:52:01 am »

I don't know what else to say, please re-read my posting. I'm pretty sure gmail doesn't work as open relay.

Joachim
Logged

frankvanhoesel

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • Frank van Hoesel personal photos
Re: can't use gmail smtp (ssl ) server
« Reply #4 on: January 05, 2005, 11:16:23 am »

I have read your reply...have you read my reply ?

You are not giving an answer to my question, wether it is possible to use SSL/TSL for the SMTP server. I can then later try to get it working with Gmail...wich probaly works, because the forum can use the SMTP server to send emails...of course the sender would always be me.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can't use gmail smtp (ssl ) server
« Reply #5 on: January 05, 2005, 04:00:07 pm »

ssl or not: why should gmail accept emails from "unknown", remote servers to be relayed? Anyway, this is nothing I'm particularly familiar with, as it clearly isn't a coppermine issue, but a matter of server setup: if you want coppermine to be able to send out emails, you will have to provide an email service on your webserver. Coppermine works both with sendmail and smtp ("usual" smtp port). Additional protocols/wrapping are not explicitely supported. Sorry...

Joachim
Logged

mexusbg

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: can't use gmail smtp (ssl ) server
« Reply #6 on: August 17, 2005, 04:38:18 pm »

Not this is an COPPERMINE PROBLEM. GMail accounts can be used....
PHPBB has no problems using gmail as an SMTP server
the problem i all in coppermine... it uses direct unsecure connection (i think), so thats the problem.

GauGau your not right......

Im working on the problem, i'll post a new threat if i find a solution.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: can't use gmail smtp (ssl ) server
« Reply #7 on: August 17, 2005, 05:55:42 pm »

it's not a coppermine problem.... read http://www.php.net/mail
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.