Hello
Send mail was working fine for 1 month but suddenlly noticed this error even thou nothing been changed in the server. Any new member joining my site i can no longer get email notification. If clicking on Befriend I get the error but the friend is added, Or while sending Compose a new message I always get this error but the message is sent to the inbox of the site but not to the personal inbox. I noticed that this error appears when i click on greetings too:
Warning: mail() [function.mail]:Could not execute mail delivery program '/usr/sbin/sendmail -t -i' in /home/toottii/public_html/inc/utils.inc.php on line 423
Any help is it from server or script
|
Sounds like a server setting has changed. I wouldn't think the PHP script would change on its own to cause an error like this. That isn't normally a writeable file. I've had issues in the past with sendmail on my server and it ended up being a safemode issue. Even though I had safe mode off, it still threw up an error, so eventually, i just uninstalled the safemode module all together and that fixed it. If you are on shared hosting, ask your provider to check into it. If on your own dedicated, get rid of the safemode module. They are doing away with it all together in PHP6 I believe and every script I've ever installed has told me to disable it.... :-) |
I am using VPS hosting, can you help me how to get rid of the safemode as you said. any other help. does this solve my problem |
PM me for help on this as every server and the method of doing things are different for their unique application. I will post results in the forum for future reference to others. :-) |
when i contacted my hosting they said:
In efforts to cut down on spam, it is required by the server that the email be sent from an actual address. If you open the file .htaccess in your public_html folder, you will see at the end I added the following line:
php_value sendmail_from someone@domain.com
All you will need to do is specify an email account that you would like the messages to say they are sent from. Just change someone@domain.com to any email address setup for your domain. I am sorry for the inconvenience, but this greatly reduces the amount of spam on the server.
I cannot find where is the file.htaccess in my public_html folder so i will change the sendmail can anyone help me please how to do that ?
|
|
Sometimes if you are using cPanel to view this directory, you may not see the .htaccess file because it is hidden. Try accessing your site via an FTP client instead.
Chris
Nothing to see here |
Sometimes if you are using cPanel to view this directory, you may not see the .htaccess file because it is hidden. Try accessing your site via an FTP client instead.
Chris
The problem is how to access the site via FTP client . If you can help me step by step :)
|
Well first you would need a FTP client like Filezilla or CuteFTP. Launch the program, enter your web address and login info (may be the same as your cPanel). This "should" take you to your root directory. Just right click the .htaccess file and choose edit.
Chris
Nothing to see here |