Snipedd Posted January 29, 2012 Share Posted January 29, 2012 A friend of mine must of changed something on the site while I was asleep last night and now all the site says when you go to it is: Error Database query error Warning: mail() [function.mail]: SMTP server response: 530 SMTP authentication is required. in C:\xampp\htdocs\inc\utils.inc.php on line 449 I'm not exactly sure what he did since I can't contact him. Can anyone help me fix this? Quote Link to comment https://forums.phpfreaks.com/topic/255996-error-database-query-error/ Share on other sites More sharing options...
AyKay47 Posted January 29, 2012 Share Posted January 29, 2012 must have changed the SMTP settings in the php.ini file, shame on him. Look at the php.ini files SMTP settings and post them here. Quote Link to comment https://forums.phpfreaks.com/topic/255996-error-database-query-error/#findComment-1312276 Share on other sites More sharing options...
Snipedd Posted January 29, 2012 Author Share Posted January 29, 2012 [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = smtp.secureserver.net ; http://php.net/smtp-port smtp_port = 25 ; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = admin@b2kclan.com Is that what you're looking for? Quote Link to comment https://forums.phpfreaks.com/topic/255996-error-database-query-error/#findComment-1312277 Share on other sites More sharing options...
AyKay47 Posted January 30, 2012 Share Posted January 30, 2012 whatever server that it, it seems to require authentication, which is not compatible with mail() Quote Link to comment https://forums.phpfreaks.com/topic/255996-error-database-query-error/#findComment-1312412 Share on other sites More sharing options...
Pikachu2000 Posted January 30, 2012 Share Posted January 30, 2012 Assuming the script is actually hosted on a Godaddy server, ask GoDaddy what the value should be (or maybe check their FAQs). They have mail servers that don't require authentication when the sending script is hosted on their webservers. Quote Link to comment https://forums.phpfreaks.com/topic/255996-error-database-query-error/#findComment-1312414 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.