PHP Mail

Web hosting, MySQL, PHP and all that good stuff.

Moderator: Lillian.W@AST

TheDave1022
Posts: 104
youtube meble na wymiar Warszawa
Joined: Tue Dec 04, 2012 9:47 am

PHP Mail

Post by TheDave1022 »

Is there any way to configure php mail?
Kerry
Posts: 457
Joined: Wed Jul 03, 2013 9:35 pm

Re: PHP Mail

Post by Kerry »

do you plan to make a mail server? very interested in knowing how to...
TheDave1022
Posts: 104
Joined: Tue Dec 04, 2012 9:47 am

Re: PHP Mail

Post 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.
ho66es
Posts: 476
Joined: Wed Mar 13, 2013 5:38 am

Re: PHP Mail

Post by ho66es »

well some of the apps send mail to me (nzbget) so i guess it does work (assuming thats what they use).
608t
Daneel
Posts: 11
Joined: Sun Sep 08, 2013 10:04 am

Re: PHP Mail

Post 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.
dekez
Posts: 9
Joined: Sun Dec 15, 2013 3:33 am

Re: PHP Mail

Post by dekez »

Did anyone manage to get this working? I need to do this as well.Thx
soilderco
Posts: 83
Joined: Tue Nov 12, 2013 11:01 pm

Re: PHP Mail

Post 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!!! :)
Storage: AS-302T
TheDave1022
Posts: 104
Joined: Tue Dec 04, 2012 9:47 am

Re: PHP Mail

Post 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
soilderco
Posts: 83
Joined: Tue Nov 12, 2013 11:01 pm

Re: PHP Mail

Post by soilderco »

Storage: AS-302T
gloops100
Posts: 28
Joined: Sat Dec 28, 2013 5:04 am

Re: PHP Mail

Post 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 ?
Asustor AS-7004T i5 8go
4 x 3To ==> Raid5
Post Reply

Return to “Web Hosting”