var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
cant use mail()
i have a dedi server with plesk and redhat
i can send and recieve mail using pop smtp no problem
but when i want to use mail function like this
mail("[email protected]", "the subject", "Line
1\nLine 2\nLine 3");
it doesnot send mail
anyone have idea?
Does it show any kind of error, or does it simply not send mail? I would check your php.ini file (usually in /usr/local/lib), especially this block:
SMTP = localhost ;for win32 only
sendmail_from = [email protected] ;for win32 only
;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i')
(this is on my box)
Be sure to restart Apache when done editing php.ini.
no error just donot send mail
perhaps your php build doesnt support mail. make sure autoconf was able to find sendmail when you were compiling php.
Maybe no FROM field is causing this
Or maybe your email address is simply not working. I made that mistake once