This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Enviar e-mail desde el servidor web

Spanish community

Moderator: MoloMuy

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
BlackPeter
Starter
Starter
Posts: 40
Joined: 03 Nov 2013 19:45
Location: Spain
Contact:
Status: Offline

Enviar e-mail desde el servidor web

Post by BlackPeter »

Nas4Free esta configurado con msmtp, un cliente smtp compatible con sendmail que puede ser utilizado en php para enviar mails desde sus aplicaciones web.La manera de enviar mails es un poco rara, se hace atravez de un script php qual llama el ejecutable msmtp en vez de utilizar la funccion mail( /etc/inc/email.inc).

La configuracion es muy facil:
1 paso: Configura el correo electronico en System-Avanced-Email
2 paso: descarga el archivo adjunto .

Colocalo en la carpeta donde tienes instaladas la extensiones en el servidor y otorgale permisos de root.

Code: Select all

cd /mnt/HDD/extensions

Code: Select all

ls
phpmail.sh

Code: Select all

./phpmail.sh
una vez ejecutado ya puedes enviar mails desde la web.
You do not have the required permissions to view the files attached to this post.
Hostname it-service.sytes.net
Version 12.0.0.4 - Reticulus (revision 6743)
Compiled 06/09/2019 01:26:07
Platform OS FreeBSD 12.0-RELEASE-p5 #0 r348788M: Fri Jun 7 22:53:38 CEST 2019
Platform x64-full on Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
System Wistron Corporation ProLiant DL120 G5

User avatar
MoloMuy
Forum Moderator
Forum Moderator
Posts: 175
Joined: 17 Feb 2013 14:40
Location: Palma de Mallorca - España
Status: Offline

Re: Enviar e-mail desde el servidor web

Post by MoloMuy »

Muchisimas gracias por la info
Servidor NAS sobre NAS4Free v11.0.0.4 - Sayyadina (revisión 3460) x64 embedded on a Pendrive 4GB, 32 GB RAM, CPU AMD FX(tm)-4100 Quad-Core, 6x HD WD RED 6TB on 1 x LSI 9211-8i on RaidZ1=32,5 TB on 1 vdev on a Gigabyte GA-970A-D3

Post Reply

Return to “Español”