Problem with From Email and MS365 SMTP authentication

raffaele.jacovelli 27 Oct, 2025

Hello,

as I've migrated our mail system to M365 on Azure, I cannot authenticate on SMTP.

I've hence created a domain with the same name but with a different extension (i.e. hightechpartners.be instead of hightechpartners.net.the problem is that the Joomla sends system email but if I try to send emails via the Chronoforms 7 Email action, I get an error saying that the sender does not belongs to the domain hence the email does not get sent.Any workarounds available?

Kind regards

Raffaele

Max_admin 27 Oct, 2025

Hi Raffaele

ChronoForms v7 uses the Joomla mailer, do you receive the test email sent by Joomla ? if yes then what is the "From address" ? is it @domain.be or @domain.net ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
raffaele.jacovelli 27 Oct, 2025

Hello Max,

that is the problem the test mail from Joomla works perfectly and uses @domain.be for the authentication of SMTP, but the email from in the emails in Chronoforms is always @domain.net....

Max_admin 28 Oct, 2025
Answer

Did you set the "From email" in ChronoForms7 to be @domain.net ? check the ChronoForms7 Settings page and Form Settings and the Email action settings, one of them must be using the .net email, because by default the Global Joomla from email is used

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
raffaele.jacovelli 28 Oct, 2025

Hello Max, 

is I did, we use the actual sender's email address that is always @domain.net that is our normal domain, but I cannot use it for the authentication as now we are on MM365 and had to take @domain.net from the spf and mx to avoid problems, while the the SMTP authentication on joomla is done with @domain.be. I guess that this is the issue. 

Max_admin 28 Oct, 2025

Please download Chronoforms v8 and install it on the same website, import your existing form, and test it, does the Email work ?

if it does not then please enable the form Debug and post the debug report after hiding any sensitive info

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
raffaele.jacovelli 28 Oct, 2025

Hello Max,

this route is not possible. I've over 200 forms in v7 - I tried V8 but it didn't work when I migrated from V4.

For the email I have anyway my own action that uses MSFT Oauth to manage the email, so there is no issue. I will have just to check all the forms and replace the standard email action with mine, and I was wondering if there was an easy solution from you.

Thanks for help anyway? 

Kind regards

Raffaele

PS: I had to create also my own upload action for the upload of the attachments as I never managed to get to work the standard V7 and V8 uploads....  

Max_admin 28 Oct, 2025

Hi Raffaele

It's good that you can create your own actions to solve the issues you encounter, I was suggesting we test with v8 to narrow down the problem sources since I'm more familiar with v8 code now and it uses the Joomla mailer directly with less configuration than v7

I suggest that you remove any .net email address from all v7 settings, form settings and Email settings and test.

I did not understand this: we use the actual sender's email address that is always @domain.net that is our normal domain

if you use an SMTP server then they control the "From" email address, you can not set that anywhere, so you just need to remove it from all v7 configuration.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.