sending email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to send an email when a user hits the submit button on a webpage, but the email never goes out. I'm using the php mail function as follows:
 
mail($recipient_address, $subject, $body);
 
It works fine for me if I send it from the php command line, but not from my web page. I use esmtp as my sendmail agent and I have put a copy of the .esmptrc file in the home directory for my web server (my web server runs as www-data and it's home directory is /var/www as listed in the /etc/passwd file). The file is readable by the www-data group.
 
There is nothing in /var/log that tells me anything - in fact, all the mail.x logs are empty.
 
Any ideas greatly appreciated.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux