Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hello, I can not send an email? My smtp connextion (25) is not in ssl (not ssl)
log:
2013-08-12 15:21:23 ** ERROR ** ERROR **
2013-08-12 15:21:23 ** ERROR ** on file 'E:sites webprojectorriatoolprojector.php' at line (650)
2013-08-12 15:21:23 ** ERROR ** cause = fsockopen(): unable to connect to ssl://mail.ncf-web.com:25 (Unknown error)
2013-08-12 15:21:23 ** ERROR ** Error sending mail
2013-08-12 15:21:23 ** ERROR ** SMTP Server : ssl://mail.ncf-web.com
2013-08-12 15:21:23 ** ERROR ** SMTP Port : 25
2013-08-12 15:21:23 ** ERROR ** SMTP User : XXXX
2013-08-12 15:21:23 ** ERROR ***** Mail stored in Database : #32
How to parameterize correctly without using ssl?
Thank you in advance
Hi Thierry,
would it be checky to ask you for a translation? May more people out of community could help you.
Regards.
Klaus
Don't provide "smtp login name" and "smtp login password".
😉
I have a login and password (thankfully). But I do not use ssl certificate.
The problem comes because I think the link is: 2013-08-12 15:21:23 ** ERROR ** SMTP Server : ssl://mail.ncf-web.com
There are 2 methods implemented to connect to mai server :
1) Pure smtp, using not authentified mail php function : this method is used when no login password is provided
2) Other authentified method using socket connections : this method is used when login and password is provided
For the second methid, if no protocol is provided (before server name); ssl is automatically added.
To access via other protocol, just specify it before server name :
smtp://myserver.xx http://myserver.xx
Hello,
Thank you, but still a mistake?? 🙁
The log:
2013-08-14 18:06:51 ** ERROR ** on file 'E:sites webprojectorriatoolprojector.php' at line (650)
2013-08-14 18:06:51 ** ERROR ** cause = fsockopen(): unable to connect to smtp://mail.ncf-web.com:25 (Unable to find the socket transport "smtp" - did you forget to enable it when you configured PHP?)
2013-08-14 18:06:51 ** ERROR ** Error sending mail
2013-08-14 18:06:51 ** ERROR ** SMTP Server : smtp://mail.ncf-web.com
2013-08-14 18:06:51 ** ERROR ** SMTP Port : 25
2013-08-14 18:06:51 ** ERROR ** SMTP User : XX
2013-08-14 18:06:51 ** ERROR ** Mail stored in Database : #48
Hi,
For a socket on SMTP, you should try port 587 instead of 25.
Port 587 does not work and it is normal because it is using port 25.
The telnet command mail.ncf-web.com 25 is good.
I'm still looking for a solution ...
Just try without using login / password 😉
The log says:
2013-08-15 21:46:34 ** ERROR ** cause = mail(): Failed to connect to mailserver at "smtp://mail.ncf-web.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
My php.ini :
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = mail.ncf-web.com
; http://php.net/smtp-port
smtp_port = 25
???
My php info is good no ? : http://ncf-project.auto-bing.eu/info.php
Are you sure mail.ncf-web.com is a smtp mail server ?
It respond to http with an html : smtp server do not.
Of course I am, because this is our mail server our company and our customers. It works by pop, imap and smtp. Made a telnet (windows) on port 25 and you will see the response (telnet mail.ncf-web.com 25)
Does your server allow anonymous connections ?
if yes, you must try wothout user/password (but your last test seems to show it does not work)
It seemsyou should try with authenticate : define login / password.
The issue is to find the expected protocole as your server does not allow ssl (wich is default for authentified connections).
try :
smtp://mail.ncf-web.com
ssmtp://mail.ncf-web.com
tcp://mail.ncf-web.com
http://mail.ncf-web.com
pop://mail.ncf-web.com
//mail.ncf-web.com
Other try :
Update file /tool/projector.php, and comment line 618 :
//$smtpHost='ssl://'.$smtpHost;
Then try host as "mail.ncf-web.com" (without any protocole)
Thank you for the answer.
The connection is fine without "ssl". But I have always an error in the log
2013-08-19 10:49:56 ** ERROR ** Error sending mail
2013-08-19 10:49:56 ** ERROR ** SMTP Server : mail.ncf-web.com
2013-08-19 10:49:56 ** ERROR ** SMTP Port : 25
2013-08-19 10:49:56 ** ERROR ** SMTP User : tr
2013-08-19 10:49:56 ** ERROR ** Mail stored in Database : #63
It seems that the connection is made without using the password. Files in the fileconfigparameters.php there is not variable "paramMailSmtpPassword!" Is this normal?
In non ssl mode, user/password is not used (only anonymous connections)
paramMailSmtpPassword is stored in the database, like most of the parameters.