It seems since updating to latest version of Appgini, the mail function doesn't work for new signups and authorisations. I also tried sending an email to all users from the Admin area and get this: "Could not instantiate mail function." for each user.
Where would I look to find the problem?
PHP Mail not working.
PHP Mail not working.
Best Wishes,
Mark
Mark
Re: PHP Mail not working.
Spoken to my host. PHP mailer should work, so suspect something has gone wrong in the coding. Localhost used to work sending emails for this app but doesn't any longer either. A bit stumped...
Best Wishes,
Mark
Mark
Re: PHP Mail not working.
Attached shows my settings. Not touched - so default.
- Attachments
-
- Screenshot 2021-12-22 at 17.06.18.png (82.16 KiB) Viewed 2429 times
Best Wishes,
Mark
Mark
Re: PHP Mail not working.
There was a debug option for sending mails, but I do not remember if it was available for sendmail or only for SMTP.
Maybe it helps: a while ago I have written an article about configuring and testing sending mails via AppGini using SMTP:
https://appgini.bizzworxx.de/appgini/st ... ing-mails/
That article also contains a few tips for debugging.
Maybe it helps: a while ago I have written an article about configuring and testing sending mails via AppGini using SMTP:
https://appgini.bizzworxx.de/appgini/st ... ing-mails/
That article also contains a few tips for debugging.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: PHP Mail not working.
Thanks jsetzer, SMTP works fine. Not sure why the php sendmail default doesn't work on the new build. I've had no problem in the past on the host. We was running 8.1 php version. Hosting support suggested trying 7.1 php which we tried but it didn't fix. SMTP seems the way to go at present.
Thanks for helping out.
Thanks for helping out.
Best Wishes,
Mark
Mark
-
- Posts: 26
- Joined: 2013-09-23 14:14
Re: PHP Mail not working.
I just went though a lot of trouble to get mail to work in my environment. We use office 365/Microsoft 365 and I wanted to relay mail with that.
Make sure the user email your using to send email had Authenticated SMTP enabled in MS 365 admin center under the user, mail, Manage email apps.
Also had to create App Password for that user.
https://github.com/Huachao/azure-conten ... sswords.md
Smtp Server is: smtp.office365.com
SMTP encryption: TLS
SMTP port: 587
set the user name and use the APP Password you created not the one you would login with.
Make sure the user email your using to send email had Authenticated SMTP enabled in MS 365 admin center under the user, mail, Manage email apps.
Also had to create App Password for that user.
https://github.com/Huachao/azure-conten ... sswords.md
Smtp Server is: smtp.office365.com
SMTP encryption: TLS
SMTP port: 587
set the user name and use the APP Password you created not the one you would login with.