Mail and PHP

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
freddehboy
Starting out
Posts: 44
Joined: Sat Apr 02, 2011 10:44 pm

Mail and PHP

Post by freddehboy »

Hi

I have a Qnap nas and the Webserver enable. I have some problem sending mail by mail form in the website I building. My php.ini settings regarding php and mail are as bellow:
[mail function]
SMTP = mailout.telia.com
smtp_port = 465
sendmail_path = /usr/sbin/sendmail -t -i

I am needing some help :)

Best regard Fredrik
wifialarm
New here
Posts: 5
Joined: Sat Nov 25, 2017 6:39 pm

Re: Mail and PHP

Post by wifialarm »

Hi, I got the same problem!
This topic helped me:

viewtopic.php?f=32&t=73170
freddehboy
Starting out
Posts: 44
Joined: Sat Apr 02, 2011 10:44 pm

Re: Mail and PHP

Post by freddehboy »

wifialarm wrote:Hi, I got the same problem!
This topic helped me:

viewtopic.php?f=32&t=73170
Hi

What was your solution. this topic is little mazy for me ;)
Captn
New here
Posts: 4
Joined: Fri Feb 01, 2013 3:43 am

Re: Mail and PHP

Post by Captn »

I am also having trouble sending mail from php. I had this setup and working for years and then it just stopped recently. I believe this was because of my gmail address, and the way google changed smtp access to the account. I updated my email settings on the Control Panel / Notification / Email tab, and clicking test email successfuly sends an email to my account. Despite this working the php mail() commands that used to work do not send an email. No errors are thrown either. Do I need to make changes to the php.ini file? Has anyone got this working with a gmail address?
Thanks for reading!
kenfcamp
Starting out
Posts: 14
Joined: Wed Jan 22, 2014 12:19 am

Re: Mail and PHP

Post by kenfcamp »

Just heard from support on the php mail() issue.

It will (so they say) be fixed in the next update - 4.3.4.0464(20180125)

Ken
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”