coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: frankvanhoesel on December 19, 2004, 05:09:56 PM

Title: can't use gmail smtp (ssl ) server
Post by: frankvanhoesel 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.

$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

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 )
Title: Re: can't use gmail smtp (ssl ) server
Post by: Joachim Müller 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
Title: Re: can't use gmail smtp (ssl ) server
Post by: frankvanhoesel 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
Title: Re: can't use gmail smtp (ssl ) server
Post by: Joachim Müller 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
Title: Re: can't use gmail smtp (ssl ) server
Post by: frankvanhoesel 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.
Title: Re: can't use gmail smtp (ssl ) server
Post by: Joachim Müller 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
Title: Re: can't use gmail smtp (ssl ) server
Post by: mexusbg 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.
Title: Re: can't use gmail smtp (ssl ) server
Post by: Stramm on August 17, 2005, 05:55:42 PM
it's not a coppermine problem.... read http://www.php.net/mail