*New 12.1 series Release:
2019-11-08: XigmaNAS 12.1.0.4.7091 - released!

*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

PHP mail

Webserver service.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Franek
NewUser
NewUser
Posts: 2
Joined: 02 May 2016 22:55
Status: Offline

PHP mail

#1

Post by Franek » 02 May 2016 23:04

Hi !

PHP mail does not send out mails.
Code works on other servers as exspected.
Do I have to configure something ?
I use standard configs, all other features are working well -
PHP pages are reachable from the internet and perform
without issues and rather fast ...

Would be pleased for any hint.
Thanks in advance,

Franek

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4978
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: PHP mail

#2

Post by raulfg3 » 03 May 2016 09:32

please provide more info
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

User avatar
alexey123
Moderator
Moderator
Posts: 1563
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: PHP mail

#3

Post by alexey123 » 03 May 2016 10:03

For me work on 4 servers
Home11.0.0.4 - Sayyadina (revision 4249)/ x64-embedded on SAPPHIRE Pure Mini E350 / 8G RAM / UPS Ippon Back Power Pro 600
Lab 10.2.0.2 - Prescience (revision 2545) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
New XigmanasXigmaNAS version 11.2.0.4.6026 on x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM
TEST1 11.0.0.4 - Pilingitam (revision 4333) bpi-embedded on Allwinner a20 / 1015MiB RAM

Franek
NewUser
NewUser
Posts: 2
Joined: 02 May 2016 22:55
Status: Offline

Re: PHP mail

#4

Post by Franek » 03 May 2016 10:14

This code

Code: Select all

$empfaenger = "name@domain1.de";
$betreff = "eMail-Funktion";
$from = "From: Franek <name@domain2.de>";
$text = "... mit PHP eMail verschickt ...";
mail($empfaenger, $betreff, $text, $from);
will not send any email !
On any other server it works well ...

User avatar
alexey123
Moderator
Moderator
Posts: 1563
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: PHP mail

#5

Post by alexey123 » 03 May 2016 13:17

Your script work at gmail. copy -paste it, just replace my email

Check system logs
You do not have the required permissions to view the files attached to this post.
Home11.0.0.4 - Sayyadina (revision 4249)/ x64-embedded on SAPPHIRE Pure Mini E350 / 8G RAM / UPS Ippon Back Power Pro 600
Lab 10.2.0.2 - Prescience (revision 2545) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
New XigmanasXigmaNAS version 11.2.0.4.6026 on x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM
TEST1 11.0.0.4 - Pilingitam (revision 4333) bpi-embedded on Allwinner a20 / 1015MiB RAM

Post Reply

Return to “WebServer”