Maybe my code is off....
I posted this in Install, but am just not sure anymore....
Okay, I'm thinking this has to be an install problem. I have PHP on Debian right now, but I just can't seem to get the mail function to work. Here is what is in my php.ini file right now:
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: 'sendmail -t -i').
sendmail_path = /usr/sbin/sendmail
And here is the statement I am using to try to send the mail:
mail('aaron.eft@avnet.com', 'A new request quote has been submitted', 'Please complete the quote request with the ID of $sid', "From: $email\n")
I'm getting headaches now from trying to figure this out, so I think it's time I ask the experts. Any help you can give is greatly appreciated.
Thanks