Forum

Mailing doesn't wor...
 
Notifications
Retirer tout

Mailing doesn't work with SMTP realy without authentification

6 Posts
2 Utilisateurs
0 Reactions
1,178 Vu
jmmbb
(@jmmbb)
Posts: 561
Contributor
Début du sujet
 
[#9143]

Hello,

i'm using SMTP relay between two secured zones.
Rules are simple : every mail adressed to second zone (adresse@secondzone.domain) are relayed.

So, authentification is not required, only smtp server adress and port.

Via telnet, it work fine but, when configuring PHPMailer via Projeqtor, errors occurs with "Connection failed, error #2 unable to connect".

It seems that phpmailer try to make authenticated connection but, without login and password, it can go...
 


 
Posté : 10 Nov PM 19:1111
jmmbb
(@jmmbb)
Posts: 561
Contributor
Début du sujet
 

Also noticed that changing log level in projeqtor doesn't seems to change log level in phpmailer (need to add a line phpmailer->SMTPDebug=4; in sendmail()


 
Posté : 10 Nov PM 19:1111
jmmbb
(@jmmbb)
Posts: 561
Contributor
Début du sujet
 

In reading code, it seems that no user and password make automaticaly a call to standard php mail so need to configure sendmail.
Perhaps you can correct it or be more clear in config screen (no user and no password -> use sendmail).


 
Posté : 10 Nov PM 19:1111
(@babynus)
Posts: 14952
Membre Admin
 

We'll have a look at this


 
Posté : 14 Nov AM 02:1111
jmmbb
(@jmmbb)
Posts: 561
Contributor
Début du sujet
 

I confirm that with a simple sending script via PHPMailer using

$PHPMailer->isSMTP();
$PHPMailer->SMTPAuth=false; 

the email is correctly sent and received successfully on client side. When the same information is provided to ProjeQtOr, the email is submitted to SendMail (in my case, this is not suitable, and in the general context, the options specify "PHPMailer in SMTP mode on port 25," which does not match the observed behavior.


 
Posté : 17 Nov PM 17:1111
(@babynus)
Posts: 14952
Membre Admin
 

Ticket #7711 recorded


 
Posté : 18 Nov PM 19:1111
Share:
Retour en haut