Page 1 of 1

Send an email unstable "thnx" or "OK"

Posted: 23 Feb 2026, 17:42
by daniel
Hello,
I am planning to transfer a website, “ndd.old.fr”, which is currently hosted by a hosting provider. This site has very little traffic and remains very modest, limited to family and friends.

To do this, I am first testing a site, “ndd.new.fr”, on my Synology NAS (DSM 7.3). The configuration was not very straightforward, but I believe it is now OK.

The only issue I still need to resolve is the Contact Mail page. Sending emails is erratic, and I have discovered the following: when I log in via ndd.new.fr and try to send an email, it is not sent (“thnx”). However, if I log in via ndd.fr/panel and click Save on the mail page, then go to ndd.fr from the panel, emails are sent without any problem.

It is as if Imagevue is losing part of the mail configuration.

These emails are sent to the address info@ndd.fr, which is managed by Infomaniak.

The settings are as follows:
Recipient: info@ndd.fr
From: info@ndd.fr
Mail Subject: ndd, 
Mail Body: …, 
From réponse text:…, 
Use SMTP OK, 
Hostname: mail.infomaniak.com, 
SMTP Authorize OK
Username: info@ndd.fr
Password: PW Infomaniak, 
SMTP Secure: TLS, 
Verify SSL certificate OK, 
Port: 587

Would you have any advice or leads to help resolve this unstable email sending issue on my side?

Re: Send an email unstable "thnx" or "OK"

Posted: 23 Feb 2026, 21:31
by mjau-mjau
daniel wrote:it is not sent (“thnx”).
X3 returns this when there are missing POST variables or missing/invalid email. Although it fails, X3 returns "thnx" because it's most likely this would be a bot trying to send emails.

Do you have a link to the two websites so I can check and compare? You could open Chrome developer tools > Network, and then check the "payload" tab after trying to "send" a message, where all the POST variables should be listed. There must be a difference between the two websites.

Re: Send an email unstable "thnx" or "OK"

Posted: 24 Feb 2026, 06:02
by daniel
OK Thank you. but I don't understand why when I go through /panel -> Settings -> Mail -> Save.(without changing anything) -> Test button at the top of the Page /panel (to ndd.fr), there the test emails are sent systematically. The site ndd.OLD.fr is not with the same host (IONOS) or the emails no longer work at all. The new site ndd.NEW.fr.fr is on my NAS. ndd.NEW.fr name and info@ndd.new.fr name (Infomaniak)

Re: Send an email unstable "thnx" or "OK"

Posted: 24 Feb 2026, 07:17
by mjau-mjau
daniel wrote:Test button at the top of the Page /panel (to ndd.fr)
What "Test button at the top of Page /panel"? There is no "test" button in the panel.
daniel wrote:The site ndd.OLD.fr is not with the same host (IONOS) or the emails no longer work at all.
Then surely this means the host is related? How are you even sending emails? You did not explain this to me. If you are trying to send emails WITHOUT using SMTP, then the host needs some emailer mechanism. It's possible IONOS has it, but your NAS server does not, at least nothing reliable.

If you are using SMTP settings (which is strongly recommended), then it depends on the SMTP server you are using. It might not like the IP of the server you are trying to send emails from.

My guess is you aren't using SMTP. In either case, this is server related, I think that is obvious?

Re: Send an email unstable "thnx" or "OK"

Posted: 24 Feb 2026, 13:37
by daniel
Oups !

Re: Send an email unstable "thnx" or "OK"

Posted: 24 Feb 2026, 14:59
by daniel
Hello,
I am experiencing a reproducible SMTP issue with Imagevue X3 when running under PHP 8.4 (Docker environment, OpenSSL 3).
Technical context:
  • Synology NAS DSM 7.3
  • Docker using php:8.4-apache
  • SMTP provider: Infomaniak
  • Tested ports: 587 (TLS / STARTTLS) and 465 (SSL)
  • ca-certificates installed (CA bundle verified)
  • SMTP connectivity successfully tested with 
    Code
    openssl s_client
Symptom:
  • Emails sent from the Contact form fail with:
    “SMTP connect() failed (PHPMailer)”
  • After investigation, the issue appears to be related to how Imagevue X3 initializes and uses PHPMailer / SMTP.
In X3_settings.php, I found a commented SMTP test block showing direct use of the SMTP class, with:
  • SMTPAuth not explicitly enabled
  • SMTPSecure not explicitly set (tls / ssl commented)
  • SMTP connection established without explicit TLS context
With PHP 8.4 and OpenSSL 3, this implicit behavior frequently causes STARTTLS negotiation failures via PHP streams, even though TLS works correctly via command-line tools.
The infrastructure (network, DNS, certificates, Docker) has been validated and is not the cause.
Conclusion:
The current SMTP implementation in Imagevue X3 appears fragile or incompatible with modern PHP versions (8.3 / 8.4), especially regarding STARTTLS handling.

Explicit PHPMailer initialization (SMTPAuth, SMTPSecure, TLS options) or an update to the SMTP logic would likely resolve the issue.
I’m happy to provide logs or perform further tests if needed.
Best regards,

Re: Send an email unstable "thnx" or "OK"

Posted: 24 Feb 2026, 23:03
by mjau-mjau
I can't confirm this, especially because it doesn't really make any sense. I use PHP 8.4 on our servers also. And surely you are using (or have tried) PHP 8.4+ on the server where email is working from?
Symptom:
Emails sent from the Contact form fail with:
  • “SMTP connect() failed (PHPMailer)”
  • After investigation, the issue appears to be related to how Imagevue X3 initializes and uses PHPMailer / SMTP.
This isn't a symptom. It's just like saying it's not working. How do you know it's not a server or SMTP specific issue? Many hosts block IP's or external SMTP services, and many SMTP services block clients (your NAS) unless it's SSL is configured correctly. I am pretty sure it's the NAS server / SSL. How come it works everywhere else?

In X3_settings.php, I found a commented SMTP test block showing direct use of the SMTP class, with:
  • SMTPAuth not explicitly enabled
  • SMTPSecure not explicitly set (tls / ssl commented)
  • SMTP connection established without explicit TLS context
I think you are just guessing?

First of all, x3_settings.php has nothing to do with sending emails in X3. Look for app/x3.api.php instead. Those options you mention above, are definitely enabled, by default in your X3 settings, and also explicitly by code. Besides, did you try to debug the emailer?

Furthermore, if it did fail by SMTP/PHP code in some way or other, you would get a red cross with a substantial SMTP debug output in browser console. Not a "thnx" message, which insinuates something else is wrong. In this case, it doesn't even try to send the email. If there was an actual ERROR with SMTP sending emails, we would need to diagnose the response from the SMTP server.

I could diagnose, if you can provide access. If not, nothing I can do.

This is what it looks like when the SMTP server does not accept the email:

Image

Re: Send an email unstable "thnx" or "OK"

Posted: 01 Mar 2026, 06:38
by daniel
Yes, you are absolutely right. Now I'm convinced. The context means that SMTP under Nas Synology docker fails to distribute imagevuex3 mail to (infomaniak for me) it is neither ImagevueX3 nor infomaniak that blocks but docker. And I can't find the solution. I keep looking. Thanks again.

Re: Send an email unstable "thnx" or "OK"

Posted: 01 Mar 2026, 09:04
by daniel
I think I have the solution to solve my problem. You certainly had this question but I did not find the answer on the forum, it must be said that I am not very talented. How to modify the Page "Contact" by deleting all the settings to be entered, adding instead an email address so that visitors can leave their comments and requests from their own browser. ? By keeping the idea of the consent message ?

Re: Send an email unstable "thnx" or "OK"

Posted: 01 Mar 2026, 22:26
by mjau-mjau
daniel wrote: I think I have the solution to solve my problem. You certainly had this question but I did not find the answer on the forum, it must be said that I am not very talented. How to modify the Page "Contact" by deleting all the settings to be entered, adding instead an email address so that visitors can leave their comments and requests from their own browser. ? By keeping the idea of the consent message ?
I'm not quite sure what you mean by "deleting all the settings to be entered". A form needs to contain some fields of course. You can create your own contact form, but it should at least contain an input with name="email" so that that you can reply. This is already in the default contact form:
Code
<form data-abide class="contactform">
<div>
<input type="text" name="name" placeholder="Name" required>
</div>
<div>
<input type="email" name="email" placeholder="Email" required>
</div>
<div>
<textarea rows="6" name="message" placeholder="Message" required></textarea>
</div>
<button type="submit">Send</button>
</form>
You can add your own inputs (or other form elements). There is an example of a more extensive contact form here https://demo.photo.gallery/examples/fea ... stom-forms