Forum

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.

Mailing doesn't wor...
 
Notifications
Clear all

Mailing doesn't work with SMTP realy without authentification

6 Posts
2 Users
0 Reactions
1,208 Views
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 
[#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...
 


 
Posted : 10 Nov 2023 19H14
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

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()


 
Posted : 10 Nov 2023 19H18
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

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).


 
Posted : 10 Nov 2023 19H45
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

We'll have a look at this


 
Posted : 14 Nov 2023 2H32
jmmbb
(@jmmbb)
Posts: 561
Contributor
Topic starter
 

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.


 
Posted : 17 Nov 2023 17H00
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Ticket #7711 recorded


 
Posted : 18 Nov 2023 19H26
Share:

Scroll to Top