coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: yrick on February 16, 2007, 07:05:41 PM

Title: SMTP - Setting an alternate port...
Post by: yrick on February 16, 2007, 07:05:41 PM
Greeting:

My ISP is blocking Port 25 (understandable but >:().
The accepted alternate SMTP port is Port 587. 

I have adjusted my mailserver (hmailserver) to use Port 587 as the SMTP port.
I have verified this configuration works by sending an email via phpbb2. 
I did not need to make any port adjustments.

However, when I try to mail from Coppermine using SMTP my email disappears into the ethernet.
Being a windows installation, I have no "sendmail" capability.
After some troubleshooting I have been able to ascertain that the SMTP port setting is coded into Coppermine.

How / Where can I adjust this port setting so that CopperMine will use Port 587 for SMTP as opposed to Port 25?

     Settings of interest:

            Win 2kPro
              Apache 2.2
                PHP 5.1.2
                MySQL 5.0.18
                   Coppermine 1.4.9

web: http://yrick.dyndns.org/cpg149 (http://yrick.dyndns.org/cpg149)
Title: Re: SMTP - Setting an alternate port...
Post by: Nibbler on February 16, 2007, 07:28:12 PM
The SMTP server setting in config will accept server:port format.
Title: Re: SMTP - Setting an alternate port...
Post by: yrick on February 16, 2007, 09:17:38 PM
Would that be:

     1.  http://domain.com:port
     2.  domain.com:port
     3.  http://smtp.domain.com:port
     4.  smtp.domain.com:port
Title: Re: SMTP - Setting an alternate port...
Post by: Nibbler on February 16, 2007, 09:23:35 PM
2 or 4 probably. Depends which one resolves to the smtp server you wish to connect to.
Title: Re: SMTP - Setting an alternate port...
Post by: levy on February 27, 2007, 01:04:28 PM
i 'm using gmail's smtp but the email cannot be sent. I configurated it same as my Outlook  :'(
Title: Re: SMTP - Setting an alternate port...
Post by: Stramm on February 27, 2007, 01:53:04 PM
Gmail smtp uses a secure connection (TLS). If I'm not wrong the CPG SMTP function doesn't support that