Page 1 of 2

PHP Mail

Posted: Sun Aug 25, 2013 5:18 am
by TheDave1022
Is there any way to configure php mail?

Re: PHP Mail

Posted: Thu Aug 29, 2013 9:23 pm
by Kerry
do you plan to make a mail server? very interested in knowing how to...

Re: PHP Mail

Posted: Fri Sep 13, 2013 9:01 pm
by TheDave1022
Can an Asustor admin comment on this? I really need to get php mail or some alternative way to send mail through forms working.

Re: PHP Mail

Posted: Sat Sep 14, 2013 5:19 pm
by ho66es
well some of the apps send mail to me (nzbget) so i guess it does work (assuming thats what they use).

Re: PHP Mail

Posted: Thu Oct 17, 2013 5:22 pm
by Daneel
For me, it does not work. If i create a mail form on my website (on the NAS), i receive/send no mail at all. The settings for the form are very simple and i can't make a misstake there (sending address is my own, receiving adres is an other address of myself). Somehow no mail gets tru.

Re: PHP Mail

Posted: Mon Dec 23, 2013 5:40 am
by dekez
Did anyone manage to get this working? I need to do this as well.Thx

Re: PHP Mail

Posted: Thu Dec 26, 2013 5:37 pm
by soilderco
Hi The Dave1022,
Here
1. If you want edit php.ini, please run <?php echo phpinfo();?> in xx.php file. Upload file to your web folder. You can see such as Configuration File (php.ini) Path: /volume0/usr/builtin/etc/php5/apache2/php.ini
2. Please use shell in the box or putty to edit php.ini
3. find [mail function]
4. restart web server

Note: If you want edit php.ini, please carefully!!!
Thanks!!! :)

Re: PHP Mail

Posted: Tue Dec 31, 2013 8:33 am
by TheDave1022
soilderco wrote:Hi The Dave1022,
Here
1. If you want edit php.ini, please run <?php echo phpinfo();?> in xx.php file. Upload file to your web folder. You can see such as Configuration File (php.ini) Path: /volume0/usr/builtin/etc/php5/apache2/php.ini
2. Please use shell in the box or putty to edit php.ini
3. find [mail function]
4. restart web server

Note: If you want edit php.ini, please carefully!!!
Thanks!!! :)

This is the mail function setting...do I need to add anything extra?

[mail function]
SMTP = localhost
extension_dir = /usr/builtin/lib/php5/20090626
smtp_port = 25
mail.add_x_header = On

Re: PHP Mail

Posted: Thu Jan 02, 2014 9:31 am
by soilderco

Re: PHP Mail

Posted: Tue Jan 14, 2014 5:57 am
by gloops100
I've modified the php.ini, but my PHP code doesn't works to send me an mail...

Have you success to use the mail function ?